From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/feature-gates/trace_macros-gate.stderr | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/test/ui/feature-gates/trace_macros-gate.stderr (limited to 'src/test/ui/feature-gates/trace_macros-gate.stderr') diff --git a/src/test/ui/feature-gates/trace_macros-gate.stderr b/src/test/ui/feature-gates/trace_macros-gate.stderr new file mode 100644 index 000000000..1ca10aeec --- /dev/null +++ b/src/test/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 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 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 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 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`. -- cgit v1.2.3