about summary refs log tree commit diff
path: root/tests/ui/trait-bounds/negative-bound-not-supported-58857.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/trait-bounds/negative-bound-not-supported-58857.stderr')
-rw-r--r--tests/ui/trait-bounds/negative-bound-not-supported-58857.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/trait-bounds/negative-bound-not-supported-58857.stderr b/tests/ui/trait-bounds/negative-bound-not-supported-58857.stderr
new file mode 100644
index 00000000000..05347a891b4
--- /dev/null
+++ b/tests/ui/trait-bounds/negative-bound-not-supported-58857.stderr
@@ -0,0 +1,8 @@
+error: negative bounds are not supported
+  --> $DIR/negative-bound-not-supported-58857.rs:5:9
+   |
+LL | impl<A: !Valid> Conj<A>{}
+   |         ^
+
+error: aborting due to 1 previous error
+