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