mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 03:03:21 +00:00
850faea030
We don't want to have questions in the diagnostic output. Instead, we use wording that communicates uncertainty, like "might": ``` error[E0432]: unresolved import `spam` --> $DIR/import-from-missing-star-3.rs:2:9 | LL | use spam::*; | ^^^^ you might be missing crate `spam` | = help: consider adding `extern crate spam` to use the `spam` crate ```
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
error[E0433]: failed to resolve: you might be missing crate `clippy`
|
|
--> $DIR/tool-mod-child.rs:2:5
|
|
|
|
|
LL | use clippy::a::b;
|
|
| ^^^^^^ you might be missing crate `clippy`
|
|
|
|
|
= help: consider adding `extern crate clippy` to use the `clippy` crate
|
|
|
|
error[E0432]: unresolved import `clippy`
|
|
--> $DIR/tool-mod-child.rs:1:5
|
|
|
|
|
LL | use clippy::a;
|
|
| ^^^^^^ you might be missing crate `clippy`
|
|
|
|
|
= help: consider adding `extern crate clippy` to use the `clippy` crate
|
|
|
|
error[E0433]: failed to resolve: you might be missing crate `rustdoc`
|
|
--> $DIR/tool-mod-child.rs:5:5
|
|
|
|
|
LL | use rustdoc::a::b;
|
|
| ^^^^^^^ you might be missing crate `rustdoc`
|
|
|
|
|
= help: consider adding `extern crate rustdoc` to use the `rustdoc` crate
|
|
|
|
error[E0432]: unresolved import `rustdoc`
|
|
--> $DIR/tool-mod-child.rs:4:5
|
|
|
|
|
LL | use rustdoc::a;
|
|
| ^^^^^^^ you might be missing crate `rustdoc`
|
|
|
|
|
= help: consider adding `extern crate rustdoc` to use the `rustdoc` crate
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
Some errors have detailed explanations: E0432, E0433.
|
|
For more information about an error, try `rustc --explain E0432`.
|