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