2019-12-12 16:48:46 -06:00
|
|
|
error[E0191]: the value of the associated type `A` (from trait `Foo`) must be specified
|
|
|
|
--> $DIR/issue-22434.rs:5:23
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2018-11-08 20:14:41 -06:00
|
|
|
LL | type A;
|
2022-02-13 09:27:59 -06:00
|
|
|
| ------ `A` defined here
|
2018-11-08 20:14:41 -06:00
|
|
|
...
|
2019-05-28 13:46:13 -05:00
|
|
|
LL | type I<'a> = &'a (dyn Foo + 'a);
|
2019-12-12 16:48:46 -06:00
|
|
|
| ^^^ help: specify the associated type: `Foo<A = Type>`
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0191`.
|