about summary refs log tree commit diff
path: root/tests/ui/suggestions/core-std-import-order-issue-83564.no_std.stderr
blob: d73f613bf9c8ae198a546de20334cc533f5a98e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0433]: failed to resolve: use of undeclared type `NonZero`
  --> $DIR/core-std-import-order-issue-83564.rs:12:14
   |
LL |     let _x = NonZero::new(5u32).unwrap();
   |              ^^^^^^^ use of undeclared type `NonZero`
   |
help: consider importing this struct
   |
LL + use core::num::NonZero;
   |

error: aborting due to 1 previous error

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