@@ -26,133 +26,133 @@ LL | use std::{
2626 | ^^^ help: consider importing the item from `core`: `core`
2727
2828error: used import from `std` instead of `core`
29- --> tests/ui/std_instead_of_core.rs:36 :31
29+ --> tests/ui/std_instead_of_core.rs:37 :31
3030 |
3131LL | use std::{io::Write as _, fmt::Debug as _, fmt::Alignment as _};
3232 | ^^^^^^^^^^
3333 |
3434 = help: consider importing the item from `core`
3535
3636error: used import from `std` instead of `core`
37- --> tests/ui/std_instead_of_core.rs:36 :48
37+ --> tests/ui/std_instead_of_core.rs:37 :48
3838 |
3939LL | use std::{io::Write as _, fmt::Debug as _, fmt::Alignment as _};
4040 | ^^^^^^^^^^^^^^
4141 |
4242 = help: consider importing the item from `core`
4343
4444error: used import from `std` instead of `core`
45- --> tests/ui/std_instead_of_core.rs:40 :15
45+ --> tests/ui/std_instead_of_core.rs:42 :15
4646 |
4747LL | use std::{fmt::Alignment as _, io::Write as _, fmt::Debug as _};
4848 | ^^^^^^^^^^^^^^
4949 |
5050 = help: consider importing the item from `core`
5151
5252error: used import from `std` instead of `core`
53- --> tests/ui/std_instead_of_core.rs:40 :52
53+ --> tests/ui/std_instead_of_core.rs:42 :52
5454 |
5555LL | use std::{fmt::Alignment as _, io::Write as _, fmt::Debug as _};
5656 | ^^^^^^^^^^
5757 |
5858 = help: consider importing the item from `core`
5959
6060error: used import from `std` instead of `core`
61- --> tests/ui/std_instead_of_core.rs:44 :15
61+ --> tests/ui/std_instead_of_core.rs:47 :15
6262 |
6363LL | use std::{fmt::Debug as _, fmt::Alignment as _, io::Write as _};
6464 | ^^^^^^^^^^
6565 |
6666 = help: consider importing the item from `core`
6767
6868error: used import from `std` instead of `core`
69- --> tests/ui/std_instead_of_core.rs:44 :32
69+ --> tests/ui/std_instead_of_core.rs:47 :32
7070 |
7171LL | use std::{fmt::Debug as _, fmt::Alignment as _, io::Write as _};
7272 | ^^^^^^^^^^^^^^
7373 |
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:51 :9
77+ --> tests/ui/std_instead_of_core.rs:54 :9
7878 |
7979LL | fmt::Debug as _,
8080 | ^^^^^^^^^^
8181 |
8282 = help: consider importing the item from `core`
8383
8484error: used import from `std` instead of `core`
85- --> tests/ui/std_instead_of_core.rs:52 :9
85+ --> tests/ui/std_instead_of_core.rs:55 :9
8686 |
8787LL | fmt::Alignment as _,
8888 | ^^^^^^^^^^^^^^
8989 |
9090 = help: consider importing the item from `core`
9191
9292error: used import from `std` instead of `core`
93- --> tests/ui/std_instead_of_core.rs:58 :9
93+ --> tests/ui/std_instead_of_core.rs:61 :9
9494 |
9595LL | fmt::Alignment as _,
9696 | ^^^^^^^^^^^^^^
9797 |
9898 = help: consider importing the item from `core`
9999
100100error: used import from `std` instead of `core`
101- --> tests/ui/std_instead_of_core.rs:60 :9
101+ --> tests/ui/std_instead_of_core.rs:63 :9
102102 |
103103LL | fmt::Debug as _,
104104 | ^^^^^^^^^^
105105 |
106106 = help: consider importing the item from `core`
107107
108108error: used import from `std` instead of `core`
109- --> tests/ui/std_instead_of_core.rs:66 :9
109+ --> tests/ui/std_instead_of_core.rs:69 :9
110110 |
111111LL | fmt::Alignment as _,
112112 | ^^^^^^^^^^^^^^
113113 |
114114 = help: consider importing the item from `core`
115115
116116error: used import from `std` instead of `core`
117- --> tests/ui/std_instead_of_core.rs:67 :9
117+ --> tests/ui/std_instead_of_core.rs:70 :9
118118 |
119119LL | fmt::Debug as _,
120120 | ^^^^^^^^^^
121121 |
122122 = help: consider importing the item from `core`
123123
124124error: used import from `std` instead of `core`
125- --> tests/ui/std_instead_of_core.rs:72 :15
125+ --> tests/ui/std_instead_of_core.rs:75 :15
126126 |
127127LL | let ptr = std::ptr::null::<u32>();
128128 | ^^^ help: consider importing the item from `core`: `core`
129129
130130error: used import from `std` instead of `core`
131- --> tests/ui/std_instead_of_core.rs:74 :21
131+ --> tests/ui/std_instead_of_core.rs:77 :21
132132 |
133133LL | let ptr_mut = ::std::ptr::null_mut::<usize>();
134134 | ^^^ help: consider importing the item from `core`: `core`
135135
136136error: used import from `std` instead of `core`
137- --> tests/ui/std_instead_of_core.rs:78 :16
137+ --> tests/ui/std_instead_of_core.rs:81 :16
138138 |
139139LL | let cell = std::cell::Cell::new(8u32);
140140 | ^^^ help: consider importing the item from `core`: `core`
141141
142142error: used import from `std` instead of `core`
143- --> tests/ui/std_instead_of_core.rs:80 :27
143+ --> tests/ui/std_instead_of_core.rs:83 :27
144144 |
145145LL | let cell_absolute = ::std::cell::Cell::new(8u32);
146146 | ^^^ help: consider importing the item from `core`: `core`
147147
148148error: used import from `std` instead of `core`
149- --> tests/ui/std_instead_of_core.rs:89 :9
149+ --> tests/ui/std_instead_of_core.rs:92 :9
150150 |
151151LL | use std::iter::Iterator;
152152 | ^^^ help: consider importing the item from `core`: `core`
153153
154154error: used import from `std` instead of `alloc`
155- --> tests/ui/std_instead_of_core.rs:96 :9
155+ --> tests/ui/std_instead_of_core.rs:99 :9
156156 |
157157LL | use std::vec;
158158 | ^^^ help: consider importing the item from `alloc`: `alloc`
@@ -161,13 +161,13 @@ LL | use std::vec;
161161 = help: to override `-D warnings` add `#[allow(clippy::std_instead_of_alloc)]`
162162
163163error: used import from `std` instead of `alloc`
164- --> tests/ui/std_instead_of_core.rs:98 :9
164+ --> tests/ui/std_instead_of_core.rs:101 :9
165165 |
166166LL | use std::vec::Vec;
167167 | ^^^ help: consider importing the item from `alloc`: `alloc`
168168
169169error: used import from `alloc` instead of `core`
170- --> tests/ui/std_instead_of_core.rs:104 :9
170+ --> tests/ui/std_instead_of_core.rs:107 :9
171171 |
172172LL | use alloc::slice::from_ref;
173173 | ^^^^^ help: consider importing the item from `core`: `core`
@@ -176,7 +176,7 @@ LL | use alloc::slice::from_ref;
176176 = help: to override `-D warnings` add `#[allow(clippy::alloc_instead_of_core)]`
177177
178178error: used import from `std` instead of `core`
179- --> tests/ui/std_instead_of_core.rs:121 :5
179+ --> tests/ui/std_instead_of_core.rs:124 :5
180180 |
181181LL | use std::fmt::{Debug as _, Result as _};
182182 | ^^^ help: consider importing the item from `core`: `core`
0 commit comments