blob: 9d084203e3a8664c3962dedb90c85445bc1d1555 [file] [log] [blame]
error[E0283]: type annotations needed
--> $DIR/associated-types-unconstrained.rs:14:20
|
LL | fn bar() -> isize;
| ------------------ required by `Foo::bar`
...
LL | let x: isize = Foo::bar();
| ^^^^^^^^ cannot infer type
|
= note: cannot satisfy `_: Foo`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0283`.