rust/src/test/ui/trace_macros-gate.stderr

50 lines
2.0 KiB
Plaintext
Raw Normal View History

error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
2018-12-25 09:56:47 -06:00
--> $DIR/trace_macros-gate.rs:4:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trace_macros!();
| ^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error: trace_macros! accepts only `true` or `false`
2018-12-26 18:07:00 -06:00
--> $DIR/trace_macros-gate.rs:4:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trace_macros!();
| ^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
2018-12-25 09:56:47 -06:00
--> $DIR/trace_macros-gate.rs:6:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trace_macros!(true);
| ^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
2018-12-25 09:56:47 -06:00
--> $DIR/trace_macros-gate.rs:7:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | trace_macros!(false);
| ^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change
2018-12-26 18:07:00 -06:00
--> $DIR/trace_macros-gate.rs:10:26
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | ($x: ident) => { trace_macros!($x) }
| ^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
...
LL | expando!(true);
| --------------- in this macro invocation
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/29598
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 07:28:26 -05:00
error: aborting due to 5 previous errors
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0658`.