]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0507.nll.stderr
Update output for borrowck=migrate compare mode.
[rust.git] / src / test / ui / error-codes / E0507.nll.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/E0507.rs:22:5
3    |
4 LL |     x.borrow().nothing_is_true(); //~ ERROR E0507
5    |     ^^^^^^^^^^ cannot move out of borrowed content
6
7 error[E0507]: cannot move out of data in a `&` reference
8   --> $DIR/E0507.rs:22:5
9    |
10 LL |     x.borrow().nothing_is_true(); //~ ERROR E0507
11    |     ^^^^^^^^^^
12    |     |
13    |     cannot move out of data in a `&` reference
14    |     cannot move
15
16 error: aborting due to 2 previous errors
17
18 For more information about this error, try `rustc --explain E0507`.