Jubilee
e31988cfc9
Rollup merge of #132209 - compiler-errors:modifiers, r=fmease
...
Fix validation when lowering `?` trait bounds
Pass the unlowered (`rustc_hir`) polarity to `lower_poly_trait_ref`.
This allows us to actually *validate* that generic args are actually valid on `?Trait` paths. This actually regressed in #113671 because that PR changed the behavior where we were inadvertently re-lowering paths as `BoundPolarity::Positive`, which was also coincidentally the only place we were enforcing the generics on `?Trait` paths were correct.
2024-10-31 17:50:40 -07:00
..
2024-08-17 12:43:25 -04:00
2024-10-29 16:26:57 +00:00
2024-10-31 00:46:22 +00:00
2024-10-27 07:41:52 +01:00
2024-10-31 17:50:40 -07:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-10-29 16:26:57 +00:00
2024-10-16 13:44:56 -04:00
2024-08-23 23:00:45 +00:00
2024-08-23 23:00:45 +00:00
2024-10-30 16:19:53 +00:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-29 16:26:57 +00:00
2024-09-22 13:55:06 -04:00
2024-09-25 13:26:48 +02:00
2024-10-11 17:36:04 +02:00
2024-10-11 17:36:04 +02:00
2024-08-17 12:43:25 -04:00
2024-10-27 07:41:52 +01:00
2024-10-27 07:41:52 +01:00
2024-08-31 15:35:42 +03:00
2024-08-31 15:35:42 +03:00
2024-08-31 15:35:42 +03:00
2024-10-04 23:38:41 +00:00
2024-08-23 23:00:45 +00:00
2024-10-29 16:26:57 +00:00
2024-10-15 20:42:17 -04:00
2024-10-15 20:42:17 -04:00
2024-08-17 12:43:25 -04:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-10-29 16:26:57 +00:00
2024-08-17 12:43:25 -04:00
2024-09-15 10:20:47 +02:00
2024-10-26 20:54:38 +00:00
2024-09-16 12:35:54 -04:00
2024-10-16 13:44:56 -04:00
2024-10-15 20:42:17 -04:00
2024-10-15 20:42:17 -04:00
2024-10-04 23:38:41 +00:00
2024-08-17 12:43:25 -04:00
2024-08-31 15:35:42 +03:00
2024-08-31 15:35:42 +03:00
2024-08-17 12:43:25 -04:00
2024-10-15 21:01:42 -04:00
2024-10-15 20:42:17 -04:00
2024-10-15 20:42:17 -04:00
2024-10-15 20:42:17 -04:00
2024-10-17 20:43:31 +02:00
2024-10-17 20:43:31 +02:00
2024-10-15 20:42:17 -04:00
2024-10-15 20:42:17 -04:00
2024-08-23 23:00:45 +00:00
2024-08-23 23:00:45 +00:00
2024-08-23 23:00:45 +00:00
2024-08-23 23:00:45 +00:00
2024-09-24 10:12:05 -04:00
2024-10-04 23:38:41 +00:00