@@ -74,16 +74,52 @@ LL | use std::{fmt::Debug as _, fmt::Alignment as _, io::Write as _};
74
74
= help: consider importing the item from `core`
75
75
76
76
error: used import from `std` instead of `core`
77
- --> tests/ui/std_instead_of_core.rs:57 :9
77
+ --> tests/ui/std_instead_of_core.rs:51 :9
78
78
|
79
- LL | use std::{
80
- | ^^^ help: consider importing the item from `core`: `core`
79
+ LL | fmt::Debug as _,
80
+ | ^^^^^^^^^^
81
+ |
82
+ = help: consider importing the item from `core`
81
83
82
84
error: used import from `std` instead of `core`
83
- --> tests/ui/std_instead_of_core.rs:65 :9
85
+ --> tests/ui/std_instead_of_core.rs:52 :9
84
86
|
85
- LL | use std::{
86
- | ^^^ help: consider importing the item from `core`: `core`
87
+ LL | fmt::Alignment as _,
88
+ | ^^^^^^^^^^^^^^
89
+ |
90
+ = help: consider importing the item from `core`
91
+
92
+ error: used import from `std` instead of `core`
93
+ --> tests/ui/std_instead_of_core.rs:58:9
94
+ |
95
+ LL | fmt::Alignment as _,
96
+ | ^^^^^^^^^^^^^^
97
+ |
98
+ = help: consider importing the item from `core`
99
+
100
+ error: used import from `std` instead of `core`
101
+ --> tests/ui/std_instead_of_core.rs:60:9
102
+ |
103
+ LL | fmt::Debug as _,
104
+ | ^^^^^^^^^^
105
+ |
106
+ = help: consider importing the item from `core`
107
+
108
+ error: used import from `std` instead of `core`
109
+ --> tests/ui/std_instead_of_core.rs:66:9
110
+ |
111
+ LL | fmt::Alignment as _,
112
+ | ^^^^^^^^^^^^^^
113
+ |
114
+ = help: consider importing the item from `core`
115
+
116
+ error: used import from `std` instead of `core`
117
+ --> tests/ui/std_instead_of_core.rs:67:9
118
+ |
119
+ LL | fmt::Debug as _,
120
+ | ^^^^^^^^^^
121
+ |
122
+ = help: consider importing the item from `core`
87
123
88
124
error: used import from `std` instead of `core`
89
125
--> tests/ui/std_instead_of_core.rs:72:15
@@ -139,5 +175,5 @@ LL | use alloc::slice::from_ref;
139
175
= note: `-D clippy::alloc-instead-of-core` implied by `-D warnings`
140
176
= help: to override `-D warnings` add `#[allow(clippy::alloc_instead_of_core)]`
141
177
142
- error: aborting due to 20 previous errors
178
+ error: aborting due to 24 previous errors
143
179
0 commit comments