]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-unconstrained.stderr
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / associated-types / associated-types-unconstrained.stderr
1 error[E0283]: type annotations needed
2   --> $DIR/associated-types-unconstrained.rs:14:20
3    |
4 LL |     let x: isize = Foo::bar();
5    |                    ^^^^^^^^ cannot infer type
6    |
7    = note: cannot satisfy `_: Foo`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0283`.