diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-09-17 17:41:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-17 17:41:13 +0200 |
| commit | aed7f000974d240c596f20e562718e3324161fba (patch) | |
| tree | b733f27a97bbbe8ff52210a7b6a5a9c063f8a4d9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b6d0ccab72ed422e6b9debbe1b0165f756c48717 (diff) | |
| parent | 21b7052eb87c397094484227eec75269061d8491 (diff) | |
| download | rust-aed7f000974d240c596f20e562718e3324161fba.tar.gz rust-aed7f000974d240c596f20e562718e3324161fba.zip | |
Rollup merge of #87460 - FabianWolff:issue-87456, r=Aaron1011
Point to closure when emitting 'cannot move out' for captured variable Attempts to fix #87456. The error message now points to the capturing closure, but I was not able to explain _why_ the closure implements `Fn` or `FnMut` (`TypeckResults::closure_kind_origins` did not contain anything for the closure in question). cc `@Aaron1011`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
