]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/levenshtein.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / resolve / levenshtein.stderr
1 error[E0412]: cannot find type `esize` in this scope
2 --> $DIR/levenshtein.rs:15:11
3 |
4 15 | fn foo(c: esize) {} // Misspelled primitive type name.
5 | ^^^^^ did you mean `isize`?
6
7 error[E0412]: cannot find type `Baz` in this scope
8 --> $DIR/levenshtein.rs:19:10
9 |
10 19 | type A = Baz; // Misspelled type name.
11 | ^^^ did you mean `Bar`?
12
13 error[E0412]: cannot find type `Opiton` in this scope
14 --> $DIR/levenshtein.rs:20:10
15 |
16 20 | type B = Opiton<u8>; // Misspelled type name from the prelude.
17 | ^^^^^^ did you mean `Option`?
18
19 error[E0412]: cannot find type `Baz` in this scope
20 --> $DIR/levenshtein.rs:23:14
21 |
22 23 | type A = Baz; // No suggestion here, Bar is not visible
23 | ^^^ not found in this scope
24
25 error[E0425]: cannot find value `MAXITEM` in this scope
26 --> $DIR/levenshtein.rs:30:20
27 |
28 30 | let v = [0u32; MAXITEM]; // Misspelled constant name.
29 | ^^^^^^^ did you mean `MAX_ITEM`?
30
31 error[E0425]: cannot find function `foobar` in this scope
32 --> $DIR/levenshtein.rs:31:5
33 |
34 31 | foobar(); // Misspelled function name.
35 | ^^^^^^ did you mean `foo_bar`?
36
37 error[E0412]: cannot find type `first` in module `m`
38 --> $DIR/levenshtein.rs:32:15
39 |
40 32 | let b: m::first = m::second; // Misspelled item in module.
41 | ^^^^^ did you mean `First`?
42
43 error[E0425]: cannot find value `second` in module `m`
44 --> $DIR/levenshtein.rs:32:26
45 |
46 32 | let b: m::first = m::second; // Misspelled item in module.
47 | ^^^^^^ did you mean `Second`?
48
49 error: aborting due to 8 previous errors
50