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