about summary refs log tree commit diff
path: root/tests/ui/async-await/async-closures/ambiguous-arg.stderr
blob: adb71d676dc5ad7aca6cea19fd220fd245845254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0282]: type annotations needed
  --> $DIR/ambiguous-arg.rs:7:25
   |
LL |       async |check, a, b| {
   |  _________________________^
LL | |
LL | |         temp.abs_diff(12);
LL | |     };
   | |_____^ cannot infer type

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0282`.