diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-31 17:50:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 17:50:40 -0700 |
| commit | e31988cfc96a0609b8772889c12e610cd3af29b7 (patch) | |
| tree | a487a753e45d5650e7e22380abd103163f03505f /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs | |
| parent | a43492b884fd0286f4c72753b45dedaffe0bd893 (diff) | |
| parent | 06a49b609f763cacf76a4fcdd3ae8f142e0b8b2d (diff) | |
| download | rust-e31988cfc96a0609b8772889c12e610cd3af29b7.tar.gz rust-e31988cfc96a0609b8772889c12e610cd3af29b7.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions
