2017-01-08 10:47:06 -06:00
|
|
|
error[E0412]: cannot find type `esize` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:5:11
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn foo(c: esize) {} // Misspelled primitive type name.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^ help: a primitive type with a similar name exists: `isize`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `Baz` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:10:10
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | type A = Baz; // Misspelled type name.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^ help: an enum with a similar name exists: `Bar`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `Opiton` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:12:10
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | type B = Opiton<u8>; // Misspelled type name from the prelude.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^ help: an enum with a similar name exists: `Option`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `Baz` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:16:14
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | type A = Baz; // No suggestion here, Bar is not visible
|
2017-01-08 10:47:06 -06:00
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `MAXITEM` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:24:20
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let v = [0u32; MAXITEM]; // Misspelled constant name.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^^ help: a constant with a similar name exists: `MAX_ITEM`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0425]: cannot find function `foobar` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:26:5
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foobar(); // Misspelled function name.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^ help: a function with a similar name exists: `foo_bar`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `first` in module `m`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:28:15
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let b: m::first = m::second; // Misspelled item in module.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^ help: a struct with a similar name exists: `First`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `second` in module `m`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/levenshtein.rs:28:26
|
2017-01-08 10:47:06 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let b: m::first = m::second; // Misspelled item in module.
|
2019-01-09 13:11:00 -06:00
|
|
|
| ^^^^^^ help: a unit struct with a similar name exists: `Second`
|
2017-01-08 10:47:06 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 8 previous errors
|
2017-01-08 10:47:06 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
Some errors occurred: E0412, E0425.
|
|
|
|
For more information about an error, try `rustc --explain E0412`.
|