]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-19482.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-19482.stderr
1 error[E0191]: the value of the associated type `A` (from trait `Foo`) must be specified
2   --> $DIR/issue-19482.rs:10:16
3    |
4 LL |     type A;
5    |     ------ `A` defined here
6 ...
7 LL | fn bar(x: &dyn Foo) {}
8    |                ^^^ help: specify the associated type: `Foo<A = Type>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0191`.