Files
rust/tests/ui/borrowck
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-01-15 19:46:20 +00:00
2023-04-17 09:16:07 +02:00
2024-04-11 16:41:41 +00:00
2024-04-11 16:41:41 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2024-07-04 04:36:52 +00:00
2023-04-20 15:06:17 -03:00
2025-02-24 09:26:54 +00:00
2025-02-24 09:26:54 +00:00
2025-01-28 19:35:51 +00:00
2024-02-20 15:34:11 +01:00
2024-02-20 15:34:11 +01:00