diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-16 18:34:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 18:34:01 +0200 |
| commit | 4e68d06b52b59cace81fe6ec293e1d644c6a683c (patch) | |
| tree | 87f9e540f3b65847126c749df64a9caea7746250 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 9a1004c259dddb2ba70c92db38a02e6518146334 (diff) | |
| parent | 1e9fa7eb79072274fbd741f09e9444249e1d4ff0 (diff) | |
| download | rust-4e68d06b52b59cace81fe6ec293e1d644c6a683c.tar.gz rust-4e68d06b52b59cace81fe6ec293e1d644c6a683c.zip | |
Rollup merge of #130412 - compiler-errors:rpitit-overcapture, r=jieyouxu
Don't ICE when RPITIT captures more method args than trait definition Make sure we don't ICE when an RPITIT captures more method args than the trait definition, which is not allowed. This was because we were using the wrong def id for error reporting. Due to the default lifetime capture rules of RPITITs (capturing everything in scope), this is only doable if we use precise capturing, which isn't currently allowed for RPITITs anyways but we still end up reaching the relevant codepaths. Fixes #129850
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
