diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-05-25 17:37:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-25 17:37:18 +0200 |
| commit | d858d280e4778e556e8b8595e20d36d229bda6e9 (patch) | |
| tree | d31325fed3a238e971c648845e4f4c5d86090643 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | fe9c64d0af379e6e48ac1e798d65e2031265aa22 (diff) | |
| parent | e9215bb7a97d61b5368f58fa299474a8606655d4 (diff) | |
| download | rust-d858d280e4778e556e8b8595e20d36d229bda6e9.tar.gz rust-d858d280e4778e556e8b8595e20d36d229bda6e9.zip | |
Rollup merge of #97302 - compiler-errors:writeback-ascending, r=cjgillot
Do writeback of Closure params before visiting the parent expression
This means that given the expression:
```
let x = |a: Vec<_>| {};
```
We will visit the HIR node for `a` before `x`, and report the ambiguity on the former instead of the latter. This also moves writeback for struct field ids and const blocks before, but the ordering of this and walking the expr doesn't seem to matter.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
