]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-path-err-node-types.stderr
Auto merge of #99443 - jam1garner:mips-virt-feature, r=nagisa
[rust.git] / src / test / ui / type / type-path-err-node-types.stderr
1 error[E0433]: failed to resolve: use of undeclared type `NonExistent`
2   --> $DIR/type-path-err-node-types.rs:15:5
3    |
4 LL |     NonExistent::Assoc::<u8>;
5    |     ^^^^^^^^^^^ use of undeclared type `NonExistent`
6
7 error[E0412]: cannot find type `Nonexistent` in this scope
8   --> $DIR/type-path-err-node-types.rs:7:12
9    |
10 LL |     let _: Nonexistent<u8, Assoc = u16>;
11    |            ^^^^^^^^^^^ not found in this scope
12
13 error[E0576]: cannot find method or associated constant `nonexistent` in trait `Tr`
14   --> $DIR/type-path-err-node-types.rs:11:21
15    |
16 LL |     <u8 as Tr<u8>>::nonexistent();
17    |                     ^^^^^^^^^^^ not found in `Tr`
18
19 error[E0425]: cannot find value `nonexistent` in this scope
20   --> $DIR/type-path-err-node-types.rs:19:5
21    |
22 LL |     nonexistent.nonexistent::<u8>();
23    |     ^^^^^^^^^^^ not found in this scope
24
25 error[E0282]: type annotations needed
26   --> $DIR/type-path-err-node-types.rs:23:14
27    |
28 LL |     let _ = |a, b: _| -> _ { 0 };
29    |              ^
30    |
31 help: consider giving this closure parameter an explicit type
32    |
33 LL |     let _ = |a: _, b: _| -> _ { 0 };
34    |               +++
35
36 error: aborting due to 5 previous errors
37
38 Some errors have detailed explanations: E0282, E0412, E0425, E0433, E0576.
39 For more information about an error, try `rustc --explain E0282`.