summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/core-std-import-order-issue-83564.stderr
blob: ce85d93b96ca8de5f288d1f54a2f0fdc583fd608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
   |              ^^^^^^^^^^ not found in this scope
   |
help: consider importing one of these items
   |
LL | use core::num::NonZeroU32;
   |
LL | use std::num::NonZeroU32;
   |

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.