diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/feature-gates/trace_macros-gate.stderr | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/feature-gates/trace_macros-gate.stderr')
-rw-r--r-- | tests/ui/feature-gates/trace_macros-gate.stderr | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/trace_macros-gate.stderr b/tests/ui/feature-gates/trace_macros-gate.stderr new file mode 100644 index 000000000..1ca10aeec --- /dev/null +++ b/tests/ui/feature-gates/trace_macros-gate.stderr @@ -0,0 +1,49 @@ +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: 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 + +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: 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 + +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: 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 + +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: 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) + +error: aborting due to 5 previous errors + +For more information about this error, try `rustc --explain E0658`. |