Skip to content

Commit b0b75de

Browse files
committed
bless you
1 parent 020292c commit b0b75de

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

tests/ui/proc-macro/meta-macro-hygiene.stdout

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctx
5555
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "diagnostic::on_unimplemented")
5656
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
5757
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
58+
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
59+
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
60+
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
5861
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "include")
5962

6063
SyntaxContexts:

tests/ui/proc-macro/nonterminal-token-hygiene.stdout

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctx
7777
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "diagnostic::on_unimplemented")
7878
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
7979
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
80+
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
81+
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
82+
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Attr, "derive")
8083
crate1::{{expnNNN}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "include")
8184

8285
SyntaxContexts:

tests/ui/std-uncopyable-atomics.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0507]: cannot move out of a shared reference
22
--> $DIR/std-uncopyable-atomics.rs:9:13
33
|
44
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
66
|
77
help: 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
|
1616
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
1818
|
1919
help: 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
|
2828
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
3030
|
3131
help: 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
|
4040
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
4242
|
4343
help: consider removing the dereference here
4444
|

tests/ui/suggestions/core-std-import-order-issue-83564.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | let _x = NonZero::new(5u32).unwrap();
66
|
77
help: consider importing one of these items
88
|
9-
LL + use core::num::NonZero;
9+
LL + use core::prelude::rust_2024::NonZero;
1010
|
1111
LL + use std::num::NonZero;
1212
|

0 commit comments

Comments
 (0)