1 error[E0412]: cannot find type `esize` in this scope
2 --> $DIR/levenshtein.rs:5:11
4 LL | fn foo(c: esize) {} // Misspelled primitive type name.
5 | ^^^^^ help: a builtin type with a similar name exists: `isize`
7 error[E0412]: cannot find type `Baz` in this scope
8 --> $DIR/levenshtein.rs:10:10
10 LL | type A = Baz; // Misspelled type name.
11 | ^^^ help: an enum with a similar name exists: `Bar`
13 error[E0412]: cannot find type `Opiton` in this scope
14 --> $DIR/levenshtein.rs:12:10
16 LL | type B = Opiton<u8>; // Misspelled type name from the prelude.
17 | ^^^^^^ help: an enum with a similar name exists: `Option`
19 error[E0412]: cannot find type `Baz` in this scope
20 --> $DIR/levenshtein.rs:16:14
22 LL | type A = Baz; // No suggestion here, Bar is not visible
23 | ^^^ not found in this scope
25 error[E0425]: cannot find value `MAXITEM` in this scope
26 --> $DIR/levenshtein.rs:24:20
28 LL | let v = [0u32; MAXITEM]; // Misspelled constant name.
29 | ^^^^^^^ help: a constant with a similar name exists: `MAX_ITEM`
31 error[E0425]: cannot find function `foobar` in this scope
32 --> $DIR/levenshtein.rs:26:5
34 LL | foobar(); // Misspelled function name.
35 | ^^^^^^ help: a function with a similar name exists: `foo_bar`
37 error[E0412]: cannot find type `first` in module `m`
38 --> $DIR/levenshtein.rs:28:15
40 LL | let b: m::first = m::second; // Misspelled item in module.
41 | ^^^^^ help: a struct with a similar name exists: `First`
43 error[E0425]: cannot find value `second` in module `m`
44 --> $DIR/levenshtein.rs:28:26
46 LL | let b: m::first = m::second; // Misspelled item in module.
47 | ^^^^^^ help: a unit struct with a similar name exists: `Second`
49 error: aborting due to 8 previous errors
51 Some errors have detailed explanations: E0412, E0425.
52 For more information about an error, try `rustc --explain E0412`.