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/variance/variance-types-bounds.stderr | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/test/ui/variance/variance-types-bounds.stderr (limited to 'src/test/ui/variance/variance-types-bounds.stderr') diff --git a/src/test/ui/variance/variance-types-bounds.stderr b/src/test/ui/variance/variance-types-bounds.stderr new file mode 100644 index 000000000..dbe8af75d --- /dev/null +++ b/src/test/ui/variance/variance-types-bounds.stderr @@ -0,0 +1,32 @@ +error[E0208]: [+, +] + --> $DIR/variance-types-bounds.rs:7:1 + | +LL | struct TestImm { + | ^^^^^^^^^^^^^^^^^^^^ + +error[E0208]: [+, o] + --> $DIR/variance-types-bounds.rs:13:1 + | +LL | struct TestMut { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error[E0208]: [+, o] + --> $DIR/variance-types-bounds.rs:19:1 + | +LL | struct TestIndirect { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error[E0208]: [o, o] + --> $DIR/variance-types-bounds.rs:24:1 + | +LL | struct TestIndirect2 { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error[E0208]: [o, o] + --> $DIR/variance-types-bounds.rs:38:1 + | +LL | struct TestObject { + | ^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to 5 previous errors + -- cgit v1.2.3