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
390 B
Plaintext
Raw Normal View History

error[E0191]: the value of the associated type `A` (from trait `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 previous error
For more information about this error, try `rustc --explain E0191`.