]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/closures_in_branches.stderr
New upstream version 1.63.0+dfsg1
[rustc.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 | ^
6 |
7 = note: type must be known at this point
8 help: consider giving this closure parameter an explicit type
9 |
10 LL | |x: _| x.len()
11 | +++
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0282`.