summaryrefslogtreecommitdiffstats
path: root/tests/ui/variance/variance-trait-bounds.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/variance/variance-trait-bounds.stderr')
-rw-r--r--tests/ui/variance/variance-trait-bounds.stderr26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/ui/variance/variance-trait-bounds.stderr b/tests/ui/variance/variance-trait-bounds.stderr
new file mode 100644
index 000000000..5a73e541c
--- /dev/null
+++ b/tests/ui/variance/variance-trait-bounds.stderr
@@ -0,0 +1,26 @@
+error: [+, +]
+ --> $DIR/variance-trait-bounds.rs:16:1
+ |
+LL | struct TestStruct<U,T:Setter<U>> {
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: [*, +]
+ --> $DIR/variance-trait-bounds.rs:21:1
+ |
+LL | enum TestEnum<U,T:Setter<U>> {
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: [*, +]
+ --> $DIR/variance-trait-bounds.rs:26:1
+ |
+LL | struct TestContraStruct<U,T:Setter<U>> {
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: [*, +]
+ --> $DIR/variance-trait-bounds.rs:31:1
+ |
+LL | struct TestBox<U,T:Getter<U>+Setter<U>> {
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to 4 previous errors
+