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/hygiene/generate-mod.stderr | 59 +++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/test/ui/hygiene/generate-mod.stderr (limited to 'src/test/ui/hygiene/generate-mod.stderr') diff --git a/src/test/ui/hygiene/generate-mod.stderr b/src/test/ui/hygiene/generate-mod.stderr new file mode 100644 index 000000000..32a2e145c --- /dev/null +++ b/src/test/ui/hygiene/generate-mod.stderr @@ -0,0 +1,59 @@ +error[E0412]: cannot find type `FromOutside` in this scope + --> $DIR/generate-mod.rs:35:13 + | +LL | genmod!(FromOutside, Outer); + | ^^^^^^^^^^^ not found in this scope + +error[E0412]: cannot find type `Outer` in this scope + --> $DIR/generate-mod.rs:35:26 + | +LL | genmod!(FromOutside, Outer); + | ^^^^^ not found in this scope + +error[E0412]: cannot find type `FromOutside` in this scope + --> $DIR/generate-mod.rs:19:18 + | +LL | type A = FromOutside; + | ^^^^^^^^^^^ not found in this scope +... +LL | genmod_transparent!(); + | --------------------- in this macro invocation + | + = note: this error originates in the macro `genmod_transparent` (in Nightly builds, run with -Z macro-backtrace for more info) + +error[E0412]: cannot find type `Outer` in this scope + --> $DIR/generate-mod.rs:20:22 + | +LL | type Inner = Outer; + | ^^^^^ not found in this scope +... +LL | genmod_transparent!(); + | --------------------- in this macro invocation + | + = note: this error originates in the macro `genmod_transparent` (in Nightly builds, run with -Z macro-backtrace for more info) + +error[E0412]: cannot find type `FromOutside` in this scope + --> $DIR/generate-mod.rs:28:18 + | +LL | type A = FromOutside; + | ^^^^^^^^^^^ not found in this scope +... +LL | genmod_legacy!(); + | ---------------- in this macro invocation + | + = note: this error originates in the macro `genmod_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) + +error[E0412]: cannot find type `Outer` in this scope + --> $DIR/generate-mod.rs:29:22 + | +LL | type Inner = Outer; + | ^^^^^ not found in this scope +... +LL | genmod_legacy!(); + | ---------------- in this macro invocation + | + = note: this error originates in the macro `genmod_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) + +error: aborting due to 6 previous errors + +For more information about this error, try `rustc --explain E0412`. -- cgit v1.2.3