2021-09-26 14:21:44 -05:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `NonZeroU32`
|
|
|
|
--> $DIR/core-std-import-order-issue-83564.rs:8:14
|
|
|
|
|
|
|
|
|
LL | let _x = NonZeroU32::new(5).unwrap();
|
2022-10-27 01:36:07 -05:00
|
|
|
| ^^^^^^^^^^ use of undeclared type `NonZeroU32`
|
2021-09-26 14:21:44 -05:00
|
|
|
|
|
|
|
|
help: consider importing one of these items
|
|
|
|
|
|
|
|
|
LL | use core::num::NonZeroU32;
|
|
|
|
|
|
2021-10-01 13:09:31 -05:00
|
|
|
LL | use std::num::NonZeroU32;
|
|
|
|
|
|
2021-09-26 14:21:44 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|