]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/incomplete-inference.stderr
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / type-alias-impl-trait / incomplete-inference.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/incomplete-inference.rs:6:5
3    |
4 LL |     None
5    |     ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0282`.