summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/forall-wf-ref-reflexive.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/regions/forall-wf-ref-reflexive.stderr')
-rw-r--r--tests/ui/regions/forall-wf-ref-reflexive.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/regions/forall-wf-ref-reflexive.stderr b/tests/ui/regions/forall-wf-ref-reflexive.stderr
new file mode 100644
index 000000000..3d059ccec
--- /dev/null
+++ b/tests/ui/regions/forall-wf-ref-reflexive.stderr
@@ -0,0 +1,8 @@
+error: `T` does not live long enough
+ --> $DIR/forall-wf-ref-reflexive.rs:12:5
+ |
+LL | self_wf2::<T>();
+ | ^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+