]> git.lizzy.rs Git - rust.git/blob - src/test/ui/overloaded-calls-nontuple.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / overloaded-calls-nontuple.stderr
1 error[E0059]: cannot use call notation; the first type parameter for the function trait is neither a tuple nor unit
2   --> $DIR/overloaded-calls-nontuple.rs:36:10
3    |
4 LL |     drop(s(3))  //~ ERROR cannot use call notation
5    |          ^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0059`.