@@ -2,7 +2,7 @@ error[E0507]: cannot move out of a shared reference
2
2
--> $DIR/std-uncopyable-atomics.rs:9:13
3
3
|
4
4
LL | let x = *&x;
5
- | ^^^ move occurs because value has type `std::sync::atomic ::AtomicBool`, which does not implement the `Copy` trait
5
+ | ^^^ move occurs because value has type `std::prelude::rust_2021 ::AtomicBool`, which does not implement the `Copy` trait
6
6
|
7
7
help: consider removing the dereference here
8
8
|
@@ -14,7 +14,7 @@ error[E0507]: cannot move out of a shared reference
14
14
--> $DIR/std-uncopyable-atomics.rs:11:13
15
15
|
16
16
LL | let x = *&x;
17
- | ^^^ move occurs because value has type `std::sync::atomic ::AtomicIsize`, which does not implement the `Copy` trait
17
+ | ^^^ move occurs because value has type `std::prelude::rust_2021 ::AtomicIsize`, which does not implement the `Copy` trait
18
18
|
19
19
help: consider removing the dereference here
20
20
|
@@ -26,7 +26,7 @@ error[E0507]: cannot move out of a shared reference
26
26
--> $DIR/std-uncopyable-atomics.rs:13:13
27
27
|
28
28
LL | let x = *&x;
29
- | ^^^ move occurs because value has type `std::sync::atomic ::AtomicUsize`, which does not implement the `Copy` trait
29
+ | ^^^ move occurs because value has type `std::prelude::rust_2021 ::AtomicUsize`, which does not implement the `Copy` trait
30
30
|
31
31
help: consider removing the dereference here
32
32
|
@@ -38,7 +38,7 @@ error[E0507]: cannot move out of a shared reference
38
38
--> $DIR/std-uncopyable-atomics.rs:15:13
39
39
|
40
40
LL | let x = *&x;
41
- | ^^^ move occurs because value has type `std::sync::atomic ::AtomicPtr<usize>`, which does not implement the `Copy` trait
41
+ | ^^^ move occurs because value has type `std::prelude::rust_2021 ::AtomicPtr<usize>`, which does not implement the `Copy` trait
42
42
|
43
43
help: consider removing the dereference here
44
44
|
0 commit comments