summary refs log tree commit diff stats
path: root/tests/ui/example_need_cell.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/example_need_cell.stderr')
-rw-r--r--tests/ui/example_need_cell.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/example_need_cell.stderr b/tests/ui/example_need_cell.stderr
new file mode 100644
index 0000000..a01c9ae
--- /dev/null
+++ b/tests/ui/example_need_cell.stderr
@@ -0,0 +1,5 @@
+error[E0425]: cannot find value `x` in this scope
+  --> tests/ui/example_need_cell.rs:11:38
+   |
+11 |     let x = MySelfRefStruct { this: &x };
+   |                                      ^ not found in this scope