fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
391 B12 linesraw
1error[E0191]: the value of the associated type `A` (from trait `Foo`) must be specified
2  --> $DIR/issue-19482.rs:10:16
3   |
4LL |     type A;
5   |     ------- `A` defined here
6...
7LL | fn bar(x: &dyn Foo) {}
8   |                ^^^ help: specify the associated type: `Foo<A = Type>`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0191`.