mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +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 ```
18 lines
614 B
Plaintext
18 lines
614 B
Plaintext
error[E0433]: failed to resolve: you might be missing crate `Absolute`
|
|
--> $DIR/meta-item-absolute-path.rs:1:12
|
|
|
|
|
LL | #[derive(::Absolute)]
|
|
| ^^^^^^^^ you might be missing crate `Absolute`
|
|
|
|
error[E0433]: failed to resolve: you might be missing crate `Absolute`
|
|
--> $DIR/meta-item-absolute-path.rs:1:12
|
|
|
|
|
LL | #[derive(::Absolute)]
|
|
| ^^^^^^^^ you might be missing crate `Absolute`
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|