]> git.lizzy.rs Git - rust.git/blob - src/test/ui/std-uncopyable-atomics.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / std-uncopyable-atomics.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/std-uncopyable-atomics.rs:19:13
3    |
4 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
5    |             ^^^
6    |             |
7    |             cannot move out of borrowed content
8    |             help: consider using a reference instead: `&*&x`
9
10 error[E0507]: cannot move out of borrowed content
11   --> $DIR/std-uncopyable-atomics.rs:21:13
12    |
13 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
14    |             ^^^
15    |             |
16    |             cannot move out of borrowed content
17    |             help: consider using a reference instead: `&*&x`
18
19 error[E0507]: cannot move out of borrowed content
20   --> $DIR/std-uncopyable-atomics.rs:23:13
21    |
22 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
23    |             ^^^
24    |             |
25    |             cannot move out of borrowed content
26    |             help: consider using a reference instead: `&*&x`
27
28 error[E0507]: cannot move out of borrowed content
29   --> $DIR/std-uncopyable-atomics.rs:25:13
30    |
31 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
32    |             ^^^
33    |             |
34    |             cannot move out of borrowed content
35    |             help: consider using a reference instead: `&*&x`
36
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0507`.