blob: d5432755cfed3fd2981c31270e6effbfacd50fec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0282]: type annotations needed
--> $DIR/expect-two-infer-vars-supply-ty-with-bound-region.rs:8:27
|
LL | with_closure(|x: u32, y| {});
| ^
|
help: consider giving this closure parameter an explicit type
|
LL | with_closure(|x: u32, y: _| {});
| +++
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
|