blob: a6ddb7ae908fc0fbacb9423d5fde5da0e152cfd5 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0282]: type annotations needed for `Result<(), E>`
--> $DIR/cannot-infer-closure-circular.rs:7:14
|
LL | let x = |r| {
| ^ consider giving this closure parameter the explicit type `Result<(), E>`, where the type parameter `E` is specified
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
|