Skip to content

Commit a222427

Browse files
committed
Update conf_disallowed_types.stderr
1 parent fcbcdd4 commit a222427

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/tools/clippy/tests/ui-toml/toml_disallowed_types/conf_disallowed_types.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: `std::sync::atomic::AtomicU32` is not allowed according to config
1+
error: `std::prelude::rust_2021::AtomicU32` is not allowed according to config
22
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:7:1
33
|
44
LL | use std::sync::atomic::AtomicU32;
@@ -25,7 +25,7 @@ error: `std::time::Instant` is not allowed according to config
2525
LL | fn bad_arg_type(_: impl Fn(Sneaky) -> foo::atomic::AtomicU32) {}
2626
| ^^^^^^
2727

28-
error: `std::sync::atomic::AtomicU32` is not allowed according to config
28+
error: `std::prelude::rust_2021::AtomicU32` is not allowed according to config
2929
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:16:39
3030
|
3131
LL | fn bad_arg_type(_: impl Fn(Sneaky) -> foo::atomic::AtomicU32) {}
@@ -93,19 +93,19 @@ error: `std::time::Instant` is not allowed according to config
9393
LL | let _ = Sneaky::now();
9494
| ^^^^^^
9595

96-
error: `std::sync::atomic::AtomicU32` is not allowed according to config
96+
error: `std::prelude::rust_2021::AtomicU32` is not allowed according to config
9797
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:36:13
9898
|
9999
LL | let _ = foo::atomic::AtomicU32::new(0);
100100
| ^^^^^^^^^^^^^^^^^^^^^^
101101

102-
error: `std::sync::atomic::AtomicU32` is not allowed according to config
102+
error: `std::prelude::rust_2021::AtomicU32` is not allowed according to config
103103
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:37:17
104104
|
105105
LL | static FOO: std::sync::atomic::AtomicU32 = foo::atomic::AtomicU32::new(1);
106106
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107107

108-
error: `std::sync::atomic::AtomicU32` is not allowed according to config
108+
error: `std::prelude::rust_2021::AtomicU32` is not allowed according to config
109109
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:37:48
110110
|
111111
LL | static FOO: std::sync::atomic::AtomicU32 = foo::atomic::AtomicU32::new(1);

0 commit comments

Comments
 (0)