rust/compiler/rustc_borrowck
Guillaume Gomez aed7f00097
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`
2021-09-17 17:41:13 +02:00
..
src Rollup merge of #87460 - FabianWolff:issue-87456, r=Aaron1011 2021-09-17 17:41:13 +02:00
Cargo.toml Rebase fallout. 2021-09-08 20:40:30 +02:00