rust/src/test/ui/trace_macros-gate.stderr
Vadim Petrochenkov f923942094 resolve: Divide macro path resolution into speculative and error reporting parts
Also move macro stability checking closer to other checks performed on obtained resolutions.
Tighten the stability spans as well, it is an error to *refer* to and unstable entity in any way, not only "call" it.
2019-07-11 00:12:08 +03:00

49 lines
1.9 KiB
Plaintext

error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
--> $DIR/trace_macros-gate.rs:4:5
|
LL | trace_macros!();
| ^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
error: trace_macros! accepts only `true` or `false`
--> $DIR/trace_macros-gate.rs:4:5
|
LL | trace_macros!();
| ^^^^^^^^^^^^^^^^
error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
--> $DIR/trace_macros-gate.rs:6:5
|
LL | trace_macros!(true);
| ^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
--> $DIR/trace_macros-gate.rs:7:5
|
LL | trace_macros!(false);
| ^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
--> $DIR/trace_macros-gate.rs:10:26
|
LL | ($x: ident) => { trace_macros!($x) }
| ^^^^^^^^^^^^
...
LL | expando!(true);
| --------------- in this macro invocation
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0658`.