]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0507.stderr
Update tests for changes to cannot move errors
[rust.git] / src / test / ui / error-codes / E0507.stderr
1 error[E0507]: cannot move out of dereference of `std::cell::Ref<'_, TheDarkKnight>`
2   --> $DIR/E0507.rs:12:5
3    |
4 LL |     x.borrow().nothing_is_true();
5    |     ^^^^^^^^^^ move occurs because value has type `TheDarkKnight`, which does not implement the `Copy` trait
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0507`.