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 = note: `-D clippy::std-instead-of-core` implied by `-D warnings`
8 = help: consider importing the item from `core`
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:14: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:14: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:17: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:18: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:21: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:22: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 `alloc`
67 --> $DIR/std_instead_of_core.rs:27:9
69 LL | use std::vec::Vec;
72 = note: `-D clippy::std-instead-of-alloc` implied by `-D warnings`
73 = help: consider importing the item from `alloc`
75 error: used import from `alloc` instead of `core`
76 --> $DIR/std_instead_of_core.rs:32:9
78 LL | use alloc::slice::from_ref;
79 | ^^^^^^^^^^^^^^^^^^^^^^
81 = note: `-D clippy::alloc-instead-of-core` implied by `-D warnings`
82 = help: consider importing the item from `core`
84 error: aborting due to 10 previous errors