summaryrefslogtreecommitdiffstats
path: root/src/test/ui/nll/snocat-regression.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/nll/snocat-regression.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/nll/snocat-regression.stderr b/src/test/ui/nll/snocat-regression.stderr
new file mode 100644
index 000000000..086898473
--- /dev/null
+++ b/src/test/ui/nll/snocat-regression.stderr
@@ -0,0 +1,14 @@
+error: `S` does not live long enough
+ --> $DIR/snocat-regression.rs:7:5
+ |
+LL | / || {
+LL | |
+LL | | //
+LL | | // FIXME(#98437). This regressed at some point and
+LL | | // probably should work.
+LL | | let _x = link;
+LL | | };
+ | |_____^
+
+error: aborting due to previous error
+