--> $DIR/overloaded-calls-bad.rs:28:17
|
LL | let ans = s("what");
- | ^^^^^^ expected isize, found reference
- |
- = note: expected type `isize`
- found type `&'static str`
+ | ^^^^^^ expected isize, found &str
error[E0057]: this function takes 1 parameter but 0 parameters were supplied
--> $DIR/overloaded-calls-bad.rs:29:15