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
..
2024-04-22 10:50:07 -04:00
2023-11-05 17:35:37 -06:00
2023-12-10 10:56:22 +08:00
2025-01-21 16:48:44 +03:00
2025-05-06 14:35:06 +10:00
2023-12-10 10:56:22 +08:00
2025-04-09 12:29:59 +01:00
2024-09-22 19:11:29 -04:00
2023-04-16 15:00:06 +02:00
2024-02-14 18:40:53 -08:00
2024-07-29 08:26:52 +10:00
2025-02-24 02:11:32 -05:00
2025-02-22 22:24:52 +00:00
2025-01-11 11:34:01 +00:00
2025-05-01 10:20:31 +02:00
2025-03-11 13:14:21 +11:00
2025-01-31 16:04:13 +11:00
2025-04-14 10:40:44 +00:00
2025-02-08 22:12:13 +00:00
2025-03-07 13:37:04 -08:00
2024-09-02 07:42:38 +02:00
2025-02-16 16:18:30 -05:00
2025-02-26 15:49:19 +00:00
2025-05-20 21:16:23 +00:00
2023-01-17 08:09:33 +00:00
2025-04-02 19:58:35 +08:00
2025-02-17 21:35:52 -05:00
2025-04-29 07:20:13 +02:00
2025-05-20 21:16:23 +00:00
2025-04-29 07:20:13 +02:00
2025-02-05 13:52:22 +00:00
2025-02-11 09:15:54 +03:00
2024-12-27 10:57:46 +00:00
2025-05-20 21:16:23 +00:00
2025-03-21 07:51:20 +01:00
2024-02-14 18:40:53 -08:00
2025-03-15 06:34:36 +00:00
2025-03-26 15:46:05 +01:00
2025-02-21 13:54:45 +00:00
2024-10-15 20:30:23 -07:00
2025-03-15 06:34:36 +00:00
2025-05-01 10:20:31 +02:00
2025-01-12 14:56:10 +00:00
2025-05-15 19:55:43 +02:00
2024-10-12 15:17:03 +01:00
2025-04-14 10:00:28 +00:00
2024-10-05 07:34:14 +03:00
2025-04-11 09:33:38 +00:00
2025-02-03 22:36:01 +11:00
2025-01-11 11:34:01 +00:00