summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/typo-suggestion.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/span/typo-suggestion.stderr')
-rw-r--r--src/test/ui/span/typo-suggestion.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/span/typo-suggestion.stderr b/src/test/ui/span/typo-suggestion.stderr
new file mode 100644
index 000000000..61d4e0611
--- /dev/null
+++ b/src/test/ui/span/typo-suggestion.stderr
@@ -0,0 +1,15 @@
+error[E0425]: cannot find value `bar` in this scope
+ --> $DIR/typo-suggestion.rs:5:26
+ |
+LL | println!("Hello {}", bar);
+ | ^^^ not found in this scope
+
+error[E0425]: cannot find value `fob` in this scope
+ --> $DIR/typo-suggestion.rs:8:26
+ |
+LL | println!("Hello {}", fob);
+ | ^^^ help: a local variable with a similar name exists: `foo`
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0425`.