diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-03 20:06:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-03 20:06:27 +0100 |
| commit | 44e794f8abd0396af158a1dee59c30f60dc2ee3a (patch) | |
| tree | edbcf39a7d2faa123f5387d055b13394ceb23f61 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 4f49352e92ed229a1f51423e087734b86c6fe814 (diff) | |
| parent | cbf4d4e3a5a1feeeedf605ffb8894c7e391f0f2f (diff) | |
| download | rust-44e794f8abd0396af158a1dee59c30f60dc2ee3a.tar.gz rust-44e794f8abd0396af158a1dee59c30f60dc2ee3a.zip | |
Rollup merge of #108553 - compiler-errors:non-lt-late-bound-in-anon-ct, r=petrochenkov
Deny capturing late-bound non-lifetime param in anon const Introduce a new AnonConstBoundary so we can detect when we capture a late-bound non-lifetime param with `non_lifetime_binders` enabled. In the future, we could technically do something like introduce an early-bound parameter on the anon const, and stick the late-bound param in its substs (kinda like how we turn late-bound lifetimes in opaques into early-bound ones). But for now, just deny it so we don't ICE. Fixes #108191
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
