@@ -2,7 +2,7 @@ error[E0507]: cannot move out of a shared reference
22 --> $DIR/std-uncopyable-atomics.rs:9:13
33 |
44LL | 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
66 |
77help: consider removing the dereference here
88 |
@@ -14,7 +14,7 @@ error[E0507]: cannot move out of a shared reference
1414 --> $DIR/std-uncopyable-atomics.rs:11:13
1515 |
1616LL | 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
1818 |
1919help: consider removing the dereference here
2020 |
@@ -26,7 +26,7 @@ error[E0507]: cannot move out of a shared reference
2626 --> $DIR/std-uncopyable-atomics.rs:13:13
2727 |
2828LL | 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
3030 |
3131help: consider removing the dereference here
3232 |
@@ -38,7 +38,7 @@ error[E0507]: cannot move out of a shared reference
3838 --> $DIR/std-uncopyable-atomics.rs:15:13
3939 |
4040LL | 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
4242 |
4343help: consider removing the dereference here
4444 |
0 commit comments