]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/associated-types-incomplete-object.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / associated-types / associated-types-incomplete-object.stderr
1 error[E0191]: the value of the associated type `B` (from trait `Foo`) must be specified
2 --> $DIR/associated-types-incomplete-object.rs:23:30
3 |
4 LL | type B;
5 | ------ `B` defined here
6 ...
7 LL | let b = &42isize as &dyn Foo<A=usize>;
8 | ^^^^^^^^^^^^ help: specify the associated type: `Foo<A=usize, B = Type>`
9
10 error[E0191]: the value of the associated type `A` (from trait `Foo`) must be specified
11 --> $DIR/associated-types-incomplete-object.rs:26:30
12 |
13 LL | type A;
14 | ------ `A` defined here
15 ...
16 LL | let c = &42isize as &dyn Foo<B=char>;
17 | ^^^^^^^^^^^ help: specify the associated type: `Foo<B=char, A = Type>`
18
19 error[E0191]: the value of the associated types `A` (from trait `Foo`), `B` (from trait `Foo`) must be specified
20 --> $DIR/associated-types-incomplete-object.rs:29:30
21 |
22 LL | type A;
23 | ------ `A` defined here
24 LL | type B;
25 | ------ `B` defined here
26 ...
27 LL | let d = &42isize as &dyn Foo;
28 | ^^^ help: specify the associated types: `Foo<A = Type, B = Type>`
29
30 error: aborting due to 3 previous errors
31
32 For more information about this error, try `rustc --explain E0191`.