@@ -74,16 +74,52 @@ LL | use std::{fmt::Debug as _, fmt::Alignment as _, io::Write as _};
7474 = help: consider importing the item from `core`
7575
7676error: 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
7878 |
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`
8183
8284error: 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
8486 |
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`
87123
88124error: used import from `std` instead of `core`
89125 --> tests/ui/std_instead_of_core.rs:72:15
@@ -139,5 +175,5 @@ LL | use alloc::slice::from_ref;
139175 = note: `-D clippy::alloc-instead-of-core` implied by `-D warnings`
140176 = help: to override `-D warnings` add `#[allow(clippy::alloc_instead_of_core)]`
141177
142- error: aborting due to 20 previous errors
178+ error: aborting due to 24 previous errors
143179
0 commit comments