Files
rust/compiler/rustc_data_structures/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
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2025-04-09 12:29:59 +01:00
2024-07-29 08:26:52 +10:00
2025-05-01 10:20:31 +02:00
2025-01-31 16:04:13 +11:00
2025-02-08 22:12:13 +00:00
2025-05-20 21:16:23 +00:00
2025-02-17 21:35:52 -05:00
2025-05-20 21:16:23 +00:00
2025-05-20 21:16:23 +00:00
2025-03-26 15:46:05 +01:00
2024-10-15 20:30:23 -07:00
2025-05-01 10:20:31 +02:00
2025-05-15 19:55:43 +02:00
2024-10-12 15:17:03 +01:00
2025-01-11 11:34:01 +00:00