Files
rust/compiler/rustc_borrowck/src
Matthias Krüger 706dc70916 Rollup merge of #139668 - matthewjasper:upper-bound-fix, r=compiler-errors
Handle regions equivalent to 'static in non_local_bounds

`non_local_bounds` would only find non local bounds that strictly bound a given region, but it's possible that a local region is equated to 'static when showing a type referencing a locally bound lifetime, such as `dyn Any + 'a` in the tests added, is well-formed. In this case we should return 'static.

closes #122704
closes #139004
2025-05-22 16:02:26 +02:00
..
2025-05-02 18:09:31 +02:00
2025-01-11 11:34:01 +00:00
2025-03-06 17:58:32 -03:00
2025-01-12 07:39:20 +00:00
2025-05-12 15:33:37 +02:00
2025-03-15 06:34:36 +00:00
2025-05-02 18:45:28 +00:00
2025-04-11 15:18:29 +02:00