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 |
44LL | use std::sync::atomic::AtomicU32;
@@ -25,7 +25,7 @@ error: `std::time::Instant` is not allowed according to config
2525LL | 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 |
3131LL | fn bad_arg_type(_: impl Fn(Sneaky) -> foo::atomic::AtomicU32) {}
@@ -93,19 +93,19 @@ error: `std::time::Instant` is not allowed according to config
9393LL | 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 |
9999LL | 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 |
105105LL | 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 |
111111LL | static FOO: std::sync::atomic::AtomicU32 = foo::atomic::AtomicU32::new(1);
0 commit comments