about summary refs log tree commit diff
path: root/tests/ui/resolve/cannot-find-value-in-scope-22811.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/cannot-find-value-in-scope-22811.stderr')
-rw-r--r--tests/ui/resolve/cannot-find-value-in-scope-22811.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/resolve/cannot-find-value-in-scope-22811.stderr b/tests/ui/resolve/cannot-find-value-in-scope-22811.stderr
new file mode 100644
index 00000000000..529fd7e8f49
--- /dev/null
+++ b/tests/ui/resolve/cannot-find-value-in-scope-22811.stderr
@@ -0,0 +1,9 @@
+error[E0425]: cannot find value `foobar` in this scope
+  --> $DIR/cannot-find-value-in-scope-22811.rs:2:28
+   |
+LL | fn main() { println!("{}", foobar); }
+   |                            ^^^^^^ not found in this scope
+
+error: aborting due to 1 previous error
+
+For more information about this error, try `rustc --explain E0425`.