2022-12-20 18:30:12 +00:00
|
|
|
error[E0059]: cannot use call notation; the first type parameter for the function trait is neither a tuple nor unit
|
|
|
|
--> $DIR/non-tupled-call.rs:9:5
|
|
|
|
|
|
|
|
|
LL | func(x);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-12-20 18:30:12 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0059`.
|