From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../compiletest-self-test/ui-testing-optout.stderr | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/ui/compiletest-self-test/ui-testing-optout.stderr (limited to 'tests/ui/compiletest-self-test/ui-testing-optout.stderr') diff --git a/tests/ui/compiletest-self-test/ui-testing-optout.stderr b/tests/ui/compiletest-self-test/ui-testing-optout.stderr new file mode 100644 index 000000000..652c472c0 --- /dev/null +++ b/tests/ui/compiletest-self-test/ui-testing-optout.stderr @@ -0,0 +1,27 @@ +error[E0412]: cannot find type `B` in this scope + --> $DIR/ui-testing-optout.rs:4:10 + | +4 | type A = B; + | ^ not found in this scope + +error[E0412]: cannot find type `D` in this scope + --> $DIR/ui-testing-optout.rs:7:10 + | +4 | type A = B; + | ----------- similarly named type alias `A` defined here +... +7 | type C = D; + | ^ help: a type alias with a similar name exists: `A` + +error[E0412]: cannot find type `F` in this scope + --> $DIR/ui-testing-optout.rs:92:10 + | +4 | type A = B; + | ----------- similarly named type alias `A` defined here +... +92 | type E = F; + | ^ help: a type alias with a similar name exists: `A` + +error: aborting due to 3 previous errors + +For more information about this error, try `rustc --explain E0412`. -- cgit v1.2.3