]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-61106.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-61106.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-61106.rs:3:9
3 |
4 LL | foo(x.clone());
5 | ^^^^^^^^^
6 | |
7 | expected `&str`, found struct `String`
8 | help: consider borrowing here: `&x`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.