1 error: used import from `std` instead of `core`
2 --> $DIR/std_instead_of_core.rs:9:9
4 LL | use std::hash::Hasher;
7 = help: consider importing the item from `core`
8 = note: `-D clippy::std-instead-of-core` implied by `-D warnings`
10 error: used import from `std` instead of `core`
11 --> $DIR/std_instead_of_core.rs:11:9
13 LL | use ::std::hash::Hash;
16 = help: consider importing the item from `core`
18 error: used import from `std` instead of `core`
19 --> $DIR/std_instead_of_core.rs:16:20
21 LL | use std::fmt::{Debug, Result};
24 = help: consider importing the item from `core`
26 error: used import from `std` instead of `core`
27 --> $DIR/std_instead_of_core.rs:16:27
29 LL | use std::fmt::{Debug, Result};
32 = help: consider importing the item from `core`
34 error: used import from `std` instead of `core`
35 --> $DIR/std_instead_of_core.rs:19:15
37 LL | let ptr = std::ptr::null::<u32>();
38 | ^^^^^^^^^^^^^^^^^^^^^
40 = help: consider importing the item from `core`
42 error: used import from `std` instead of `core`
43 --> $DIR/std_instead_of_core.rs:20:19
45 LL | let ptr_mut = ::std::ptr::null_mut::<usize>();
46 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48 = help: consider importing the item from `core`
50 error: used import from `std` instead of `core`
51 --> $DIR/std_instead_of_core.rs:23:16
53 LL | let cell = std::cell::Cell::new(8u32);
56 = help: consider importing the item from `core`
58 error: used import from `std` instead of `core`
59 --> $DIR/std_instead_of_core.rs:24:25
61 LL | let cell_absolute = ::std::cell::Cell::new(8u32);
64 = help: consider importing the item from `core`
66 error: used import from `std` instead of `core`
67 --> $DIR/std_instead_of_core.rs:32:9
69 LL | use std::iter::Iterator;
72 = help: consider importing the item from `core`
74 error: used import from `std` instead of `alloc`
75 --> $DIR/std_instead_of_core.rs:38:9
80 = help: consider importing the item from `alloc`
81 = note: `-D clippy::std-instead-of-alloc` implied by `-D warnings`
83 error: used import from `std` instead of `alloc`
84 --> $DIR/std_instead_of_core.rs:39:9
86 LL | use std::vec::Vec;
89 = help: consider importing the item from `alloc`
91 error: used import from `alloc` instead of `core`
92 --> $DIR/std_instead_of_core.rs:44:9
94 LL | use alloc::slice::from_ref;
95 | ^^^^^^^^^^^^^^^^^^^^^^
97 = help: consider importing the item from `core`
98 = note: `-D clippy::alloc-instead-of-core` implied by `-D warnings`
100 error: aborting due to 12 previous errors