d7d6238b23
This is consistent with all other diagnostics I could find containing features and enables the use of `DiagSymbolList` for generalizing diagnostics for unstable library features to multiple features.
26 lines
802 B
Plaintext
26 lines
802 B
Plaintext
error[E0432]: unresolved import `test`
|
|
--> $DIR/issue-37887.rs:3:9
|
|
|
|
|
LL | use test::*;
|
|
| ^^^^ you might be missing crate `test`
|
|
|
|
|
help: consider importing the `test` crate
|
|
|
|
|
LL + extern crate test;
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature `test`
|
|
--> $DIR/issue-37887.rs:2:5
|
|
|
|
|
LL | extern crate test;
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
|
|
= help: add `#![feature(test)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
Some errors have detailed explanations: E0432, E0658.
|
|
For more information about an error, try `rustc --explain E0432`.
|