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
2
2
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:7:1
3
3
|
4
4
LL | use std::sync::atomic::AtomicU32;
@@ -25,7 +25,7 @@ error: `std::time::Instant` is not allowed according to config
25
25
LL | fn bad_arg_type(_: impl Fn(Sneaky) -> foo::atomic::AtomicU32) {}
26
26
| ^^^^^^
27
27
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
29
29
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:16:39
30
30
|
31
31
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
93
93
LL | let _ = Sneaky::now();
94
94
| ^^^^^^
95
95
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
97
97
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:36:13
98
98
|
99
99
LL | let _ = foo::atomic::AtomicU32::new(0);
100
100
| ^^^^^^^^^^^^^^^^^^^^^^
101
101
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
103
103
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:37:17
104
104
|
105
105
LL | static FOO: std::sync::atomic::AtomicU32 = foo::atomic::AtomicU32::new(1);
106
106
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107
107
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
109
109
--> tests/ui-toml/toml_disallowed_types/conf_disallowed_types.rs:37:48
110
110
|
111
111
LL | static FOO: std::sync::atomic::AtomicU32 = foo::atomic::AtomicU32::new(1);
0 commit comments