]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0433]: failed to resolve: use of undeclared type `NonExistent` |
0731742a | 2 | --> $DIR/type-path-err-node-types.rs:15:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | NonExistent::Assoc::<u8>; |
1b1a35ee | 5 | | ^^^^^^^^^^^ use of undeclared type `NonExistent` |
b7449926 XL |
6 | |
7 | error[E0412]: cannot find type `Nonexistent` in this scope | |
0731742a | 8 | --> $DIR/type-path-err-node-types.rs:7:12 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | let _: Nonexistent<u8, Assoc = u16>; |
b7449926 XL |
11 | | ^^^^^^^^^^^ not found in this scope |
12 | ||
13 | error[E0576]: cannot find method or associated constant `nonexistent` in trait `Tr` | |
0731742a | 14 | --> $DIR/type-path-err-node-types.rs:11:21 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | <u8 as Tr<u8>>::nonexistent(); |
b7449926 XL |
17 | | ^^^^^^^^^^^ not found in `Tr` |
18 | ||
19 | error[E0425]: cannot find value `nonexistent` in this scope | |
0731742a | 20 | --> $DIR/type-path-err-node-types.rs:19:5 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | nonexistent.nonexistent::<u8>(); |
b7449926 XL |
23 | | ^^^^^^^^^^^ not found in this scope |
24 | ||
e74abb32 XL |
25 | error[E0282]: type annotations needed |
26 | --> $DIR/type-path-err-node-types.rs:23:14 | |
27 | | | |
28 | LL | let _ = |a, b: _| -> _ { 0 }; | |
29 | | ^ consider giving this closure parameter a type | |
30 | ||
31 | error: aborting due to 5 previous errors | |
b7449926 | 32 | |
e74abb32 XL |
33 | Some errors have detailed explanations: E0282, E0412, E0425, E0433, E0576. |
34 | For more information about an error, try `rustc --explain E0282`. |