rust/tests/ui/feature-gates/trace_macros-gate.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
2.1 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
|
2020-02-07 06:07:02 -06:00
= note: see issue #29598 <https://github.com/rust-lang/rust/issues/29598> for more information
= 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!();
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^
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
|
2020-02-07 06:07:02 -06:00
= note: see issue #29598 <https://github.com/rust-lang/rust/issues/29598> for more information
= 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
|
2020-02-07 06:07:02 -06:00
= note: see issue #29598 <https://github.com/rust-lang/rust/issues/29598> for more information
= 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);
2021-10-14 13:28:28 -05:00
| -------------- in this macro invocation
2018-08-08 07:28:26 -05:00
|
2020-02-07 06:07:02 -06:00
= note: see issue #29598 <https://github.com/rust-lang/rust/issues/29598> for more information
= help: add `#![feature(trace_macros)]` to the crate attributes to enable
= note: this error originates in the macro `expando` (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`.