2023-10-04 01:10:51 +00:00
|
|
|
error[E0191]: the value of the associated type `A` in `Foo` must be specified
|
2019-12-12 14:48:46 -08:00
|
|
|
--> $DIR/issue-19482.rs:10:16
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2018-11-08 18:14:41 -08:00
|
|
|
LL | type A;
|
2022-02-13 16:27:59 +01:00
|
|
|
| ------ `A` defined here
|
2018-11-08 18:14:41 -08:00
|
|
|
...
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | fn bar(x: &dyn Foo) {}
|
2019-12-12 14:48:46 -08:00
|
|
|
| ^^^ help: specify the associated type: `Foo<A = Type>`
|
2018-07-15 14:11:54 -07:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0191`.
|