summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-negative_bounds.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-negative_bounds.stderr')
-rw-r--r--tests/ui/feature-gates/feature-gate-negative_bounds.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-negative_bounds.stderr b/tests/ui/feature-gates/feature-gate-negative_bounds.stderr
new file mode 100644
index 000000000..ae010fdf3
--- /dev/null
+++ b/tests/ui/feature-gates/feature-gate-negative_bounds.stderr
@@ -0,0 +1,8 @@
+error: negative bounds are not supported
+ --> $DIR/feature-gate-negative_bounds.rs:1:12
+ |
+LL | fn test<T: !Copy>() {}
+ | ^
+
+error: aborting due to previous error
+