blob: 308ef1de3ccc37dd4cb1b3171d5aefd38c99018d [file] [log] [blame]
fn main() {
let x = String::new();
foo(x.clone()); //~ ERROR mismatched types
}
fn foo(_: &str) {}