]> git.lizzy.rs Git - rust.git/blob - src/test/ui/std-uncopyable-atomics.nll.stderr
Rollup merge of #54300 - Aaronepower:master, r=Aaronepower
[rust.git] / src / test / ui / std-uncopyable-atomics.nll.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 removing the `*`: `&x`
9
10 error[E0507]: cannot move out of data in a `&` reference
11   --> $DIR/std-uncopyable-atomics.rs:19:13
12    |
13 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
14    |             ^^^
15    |             |
16    |             cannot move out of data in a `&` reference
17    |             cannot move
18
19 error[E0507]: cannot move out of borrowed content
20   --> $DIR/std-uncopyable-atomics.rs:21: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 removing the `*`: `&x`
27
28 error[E0507]: cannot move out of data in a `&` reference
29   --> $DIR/std-uncopyable-atomics.rs:21:13
30    |
31 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
32    |             ^^^
33    |             |
34    |             cannot move out of data in a `&` reference
35    |             cannot move
36
37 error[E0507]: cannot move out of borrowed content
38   --> $DIR/std-uncopyable-atomics.rs:23:13
39    |
40 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
41    |             ^^^
42    |             |
43    |             cannot move out of borrowed content
44    |             help: consider removing the `*`: `&x`
45
46 error[E0507]: cannot move out of data in a `&` reference
47   --> $DIR/std-uncopyable-atomics.rs:23:13
48    |
49 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
50    |             ^^^
51    |             |
52    |             cannot move out of data in a `&` reference
53    |             cannot move
54
55 error[E0507]: cannot move out of borrowed content
56   --> $DIR/std-uncopyable-atomics.rs:25:13
57    |
58 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
59    |             ^^^
60    |             |
61    |             cannot move out of borrowed content
62    |             help: consider removing the `*`: `&x`
63
64 error[E0507]: cannot move out of data in a `&` reference
65   --> $DIR/std-uncopyable-atomics.rs:25:13
66    |
67 LL |     let x = *&x; //~ ERROR: cannot move out of borrowed content
68    |             ^^^
69    |             |
70    |             cannot move out of data in a `&` reference
71    |             cannot move
72
73 error: aborting due to 8 previous errors
74
75 For more information about this error, try `rustc --explain E0507`.