rust/tests/ui/issues/issue-19482.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
382 B
Plaintext
Raw Normal View History

error[E0191]: the value of the associated type `A` in `Foo` must be specified
--> $DIR/issue-19482.rs:10:16
2018-07-15 21:11:54 +00:00
|
LL | type A;
2022-02-13 15:27:59 +00:00
| ------ `A` defined here
...
2019-05-28 18:46:13 +00:00
LL | fn bar(x: &dyn Foo) {}
| ^^^ help: specify the associated type: `Foo<A = Type>`
2018-07-15 21:11:54 +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`.