]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/closures_in_branches.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / closures_in_branches.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/closures_in_branches.rs:21:10
3    |
4 LL |         |x| x.len()
5    |          ^ consider giving this closure parameter a type
6    |
7    = note: type must be known at this point
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0282`.