]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/issue-52663-span-decl-captured-variable.stderr
Update upstream source from tag 'upstream/1.31.0_beta.4+dfsg1'
[rustc.git] / src / test / ui / nll / issue-52663-span-decl-captured-variable.stderr
CommitLineData
b7449926
XL
1error[E0507]: cannot move out of captured variable in an `Fn` closure
2 --> $DIR/issue-52663-span-decl-captured-variable.rs:20:26
3 |
4LL | let x = (vec![22], vec![44]);
5 | - captured outer variable
6LL | expect_fn(|| drop(x.0));
7 | ^^^ cannot move out of captured variable in an `Fn` closure
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0507`.