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 --- tests/ui/error-codes/E0091.stderr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/ui/error-codes/E0091.stderr (limited to 'tests/ui/error-codes/E0091.stderr') diff --git a/tests/ui/error-codes/E0091.stderr b/tests/ui/error-codes/E0091.stderr new file mode 100644 index 000000000..a596b75e4 --- /dev/null +++ b/tests/ui/error-codes/E0091.stderr @@ -0,0 +1,15 @@ +error[E0091]: type parameter `T` is unused + --> $DIR/E0091.rs:1:10 + | +LL | type Foo = u32; + | ^ unused type parameter + +error[E0091]: type parameter `B` is unused + --> $DIR/E0091.rs:2:14 + | +LL | type Foo2 = Box; + | ^ unused type parameter + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0091`. -- cgit v1.2.3