mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 06:25:40 +00:00
The version string is difficult to properly normalize out, and removing it isn't a huge deal (the user can query version info easily through `rustc --version` or `cargo --version`). The normalization options were all non-ideal: - Per-test version string normalization is nasty to maintain, and we need to maintain `n` copies of it. - Centralized compiletest normalization (with a directive opt-out) is also not ideal, because `cfg(version(..))` tests can't have those accidentally normalized out (and you'd have to remember to opt-out).
19 lines
658 B
Plaintext
19 lines
658 B
Plaintext
error[E0557]: feature has been removed
|
|
--> $DIR/macro-reexport-removed.rs:3:12
|
|
|
|
|
LL | #![feature(macro_reexport)]
|
|
| ^^^^^^^^^^^^^^ feature has been removed
|
|
|
|
|
= note: removed in 1.0.0; see <https://github.com/rust-lang/rust/pull/49982> for more information
|
|
= note: subsumed by `pub use`
|
|
|
|
error: cannot find attribute `macro_reexport` in this scope
|
|
--> $DIR/macro-reexport-removed.rs:5:3
|
|
|
|
|
LL | #[macro_reexport(macro_one)]
|
|
| ^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `macro_export`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0557`.
|