diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-23 06:18:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-23 06:18:05 +0100 |
| commit | ef27e438074252c2c36250dc0f54e89f7da4999d (patch) | |
| tree | 206707e52a1570a22d80b54ad2e967bd522521b6 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 0978711950b77582e4f8f334f6e9848d48ab7790 (diff) | |
| parent | b14eb0c497eaac65cd67c02270c6f7bd8ecc5b3f (diff) | |
| download | rust-ef27e438074252c2c36250dc0f54e89f7da4999d.tar.gz rust-ef27e438074252c2c36250dc0f54e89f7da4999d.zip | |
Rollup merge of #108063 - compiler-errors:associated-type-bounds-in-bad-position, r=cjgillot
Ban associated type bounds in bad positions We should not try to lower associated type bounds into TAITs in positions where `impl Trait` is not allowed (except for in `where` clauses, like `where T: Trait<Assoc: Bound>`). This is achieved by using the same `rustc_ast_lowering` machinery as impl-trait does to characterize positions as universal/existential/disallowed. Fixes #106077 Split out the first commit into #108066, since it's not really related.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
