2017-01-08 16:47:06 +00:00
|
|
|
error[E0412]: cannot find type `esize` in this scope
|
|
|
|
--> $DIR/levenshtein.rs:15:11
|
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn foo(c: esize) {} // Misspelled primitive type name.
|
2017-01-08 16:47:06 +00:00
|
|
|
| ^^^^^ did you mean `isize`?
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `Baz` in this scope
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:20:10
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | type A = Baz; // Misspelled type name.
|
2017-01-08 16:47:06 +00:00
|
|
|
| ^^^ did you mean `Bar`?
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `Opiton` in this scope
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:22:10
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | type B = Opiton<u8>; // Misspelled type name from the prelude.
|
2017-03-08 19:15:12 +00:00
|
|
|
| ^^^^^^ did you mean `Option`?
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `Baz` in this scope
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:26:14
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | type A = Baz; // No suggestion here, Bar is not visible
|
2017-01-08 16:47:06 +00:00
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `MAXITEM` in this scope
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:34:20
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let v = [0u32; MAXITEM]; // Misspelled constant name.
|
2017-01-08 16:47:06 +00:00
|
|
|
| ^^^^^^^ did you mean `MAX_ITEM`?
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `foobar` in this scope
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:36:5
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | foobar(); // Misspelled function name.
|
2017-01-08 16:47:06 +00:00
|
|
|
| ^^^^^^ did you mean `foo_bar`?
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `first` in module `m`
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:38:15
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let b: m::first = m::second; // Misspelled item in module.
|
2017-03-08 19:15:12 +00:00
|
|
|
| ^^^^^ did you mean `First`?
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `second` in module `m`
|
2017-11-20 12:13:27 +00:00
|
|
|
--> $DIR/levenshtein.rs:38:26
|
2017-01-08 16:47:06 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let b: m::first = m::second; // Misspelled item in module.
|
2017-03-08 19:15:12 +00:00
|
|
|
| ^^^^^^ did you mean `Second`?
|
2017-01-08 16:47:06 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to 8 previous errors
|
2017-01-08 16:47:06 +00:00
|
|
|
|
2018-02-19 20:40:25 +00:00
|
|
|
You've got a few errors: E0412, E0425
|
|
|
|
If you want more information on an error, try using "rustc --explain E0412"
|