]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/core-std-import-order-issue-83564.stderr
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / core-std-import-order-issue-83564.stderr
1 error[E0433]: failed to resolve: use of undeclared type `NonZeroU32`
2   --> $DIR/core-std-import-order-issue-83564.rs:8:14
3    |
4 LL |     let _x = NonZeroU32::new(5).unwrap();
5    |              ^^^^^^^^^^ use of undeclared type `NonZeroU32`
6    |
7 help: consider importing one of these items
8    |
9 LL | use core::num::NonZeroU32;
10    |
11 LL | use std::num::NonZeroU32;
12    |
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0433`.