]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-in-static.nll.stderr
927d8c3745885b39b35f7b8f96a4237567810363
[rust.git] / src / test / ui / borrowck / borrowck-in-static.nll.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/borrowck-in-static.rs:15:17
3    |
4 LL |     Box::new(|| x) //~ ERROR cannot move out of captured outer variable
5    |                 ^ cannot move out of borrowed content
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0507`.