Files
rust/tests/ui/suggestions/core-std-import-order-issue-83564.std.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
421 B
Plaintext
Raw Normal View History

2024-02-22 14:59:52 +01:00
error[E0433]: failed to resolve: use of undeclared type `NonZero`
--> $DIR/core-std-import-order-issue-83564.rs:12:14
2021-09-26 12:21:44 -07:00
|
2024-02-22 14:59:52 +01:00
LL | let _x = NonZero::new(5u32).unwrap();
| ^^^^^^^ use of undeclared type `NonZero`
2021-09-26 12:21:44 -07:00
|
help: consider importing this struct
2021-09-26 12:21:44 -07:00
|
2024-02-22 14:59:52 +01:00
LL + use std::num::NonZero;
|
2021-09-26 12:21:44 -07:00
error: aborting due to 1 previous error
2021-09-26 12:21:44 -07:00
For more information about this error, try `rustc --explain E0433`.