rust/src/test/ui/std-uncopyable-atomics.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

40 lines
1.2 KiB
Plaintext

error[E0507]: cannot move out of borrowed content
--> $DIR/std-uncopyable-atomics.rs:9:13
|
LL | let x = *&x;
| ^^^
| |
| cannot move out of borrowed content
| help: consider using a reference instead: `&*&x`
error[E0507]: cannot move out of borrowed content
--> $DIR/std-uncopyable-atomics.rs:11:13
|
LL | let x = *&x;
| ^^^
| |
| cannot move out of borrowed content
| help: consider using a reference instead: `&*&x`
error[E0507]: cannot move out of borrowed content
--> $DIR/std-uncopyable-atomics.rs:13:13
|
LL | let x = *&x;
| ^^^
| |
| cannot move out of borrowed content
| help: consider using a reference instead: `&*&x`
error[E0507]: cannot move out of borrowed content
--> $DIR/std-uncopyable-atomics.rs:15:13
|
LL | let x = *&x;
| ^^^
| |
| cannot move out of borrowed content
| help: consider using a reference instead: `&*&x`
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0507`.