1 error[E0308]: mismatched types
2 --> $DIR/overloaded-calls-bad.rs:28:17
4 LL | let ans = s("what");
5 | ^^^^^^ expected `isize`, found `&str`
7 error[E0057]: this function takes 1 argument but 0 arguments were supplied
8 --> $DIR/overloaded-calls-bad.rs:29:15
11 | ^-- supplied 0 arguments
15 note: associated function defined here
16 --> $SRC_DIR/core/src/ops/function.rs:LL:COL
18 LL | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output;
21 error[E0057]: this function takes 1 argument but 2 arguments were supplied
22 --> $DIR/overloaded-calls-bad.rs:31:15
24 LL | let ans = s("burma", "shave");
25 | ^ ------- ------- supplied 2 arguments
29 note: associated function defined here
30 --> $SRC_DIR/core/src/ops/function.rs:LL:COL
32 LL | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output;
35 error: aborting due to 3 previous errors
37 Some errors have detailed explanations: E0057, E0308.
38 For more information about an error, try `rustc --explain E0057`.