os-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
Text
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 14:11:54 -07:00
|
LL | type A;
2022-02-13 16:27:59 +01:00
| ------ `A` defined here
...
2019-05-28 14:46:13 -04:00
LL | fn bar(x: &dyn Foo) {}
| ^^^ help: specify the associated type: `Foo<A = Type>`
2018-07-15 14:11:54 -07: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`.