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-10-31 01:35:14 +00:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-09-16 10:56:22 -04:00
2024-09-16 10:56:22 -04:00
2024-10-30 23:42:50 +00:00
2024-10-30 23:42:50 +00:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-10-19 18:02:26 +00:00
2024-10-19 18:02:26 +00:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-10-31 01:35:14 +00:00
2024-10-31 01:35:14 +00:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-08-17 12:43:25 -04:00
2024-08-17 12:43:25 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-10-31 01:35:14 +00:00
2024-10-31 01:35:14 +00:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-08-17 12:33:29 -04:00
2024-09-05 06:34:42 -04:00
2024-08-26 06:46:56 +00:00
2024-08-26 06:46:56 +00:00
2024-08-26 06:46:56 +00:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:51 -07:00
2024-10-10 11:46:48 -07:00
2024-06-17 22:35:25 -04:00
2024-06-17 22:35:25 -04:00