2017-01-08 10:47:06 -06:00
|
|
|
error[E0412]: cannot find type `esize` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:15:11
|
|
|
|
|
|
|
|
|
15 | fn foo(c: esize) {} // Misspelled primitive type name.
|
|
|
|
| ^^^^^ did you mean `isize`?
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `Baz` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:19:10
|
|
|
|
|
|
|
|
|
19 | type A = Baz; // Misspelled type name.
|
|
|
|
| ^^^ did you mean `Bar`?
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `Opiton` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:20:10
|
|
|
|
|
|
|
|
|
20 | type B = Opiton<u8>; // Misspelled type name from the prelude.
|
2017-03-08 13:15:12 -06:00
|
|
|
| ^^^^^^ did you mean `Option`?
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `Baz` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:23:14
|
|
|
|
|
|
|
|
|
23 | type A = Baz; // No suggestion here, Bar is not visible
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `MAXITEM` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:30:20
|
|
|
|
|
|
|
|
|
30 | let v = [0u32; MAXITEM]; // Misspelled constant name.
|
|
|
|
| ^^^^^^^ did you mean `MAX_ITEM`?
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `foobar` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:31:5
|
|
|
|
|
|
|
|
|
31 | foobar(); // Misspelled function name.
|
|
|
|
| ^^^^^^ did you mean `foo_bar`?
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `first` in module `m`
|
2017-03-08 13:15:12 -06:00
|
|
|
--> $DIR/levenshtein.rs:32:15
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
|
32 | let b: m::first = m::second; // Misspelled item in module.
|
2017-03-08 13:15:12 -06:00
|
|
|
| ^^^^^ did you mean `First`?
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `second` in module `m`
|
2017-03-08 13:15:12 -06:00
|
|
|
--> $DIR/levenshtein.rs:32:26
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
|
32 | let b: m::first = m::second; // Misspelled item in module.
|
2017-03-08 13:15:12 -06:00
|
|
|
| ^^^^^^ did you mean `Second`?
|
2017-01-08 10:47:06 -06:00
|
|
|
|
2017-05-22 06:46:05 -05:00
|
|
|
error: aborting due to previous error(s)
|
2017-01-08 10:47:06 -06:00
|
|
|
|