summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/typo-suggestion.stderr
blob: 61d4e06119c4fc887c2413b316ef569016ca2f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`.