]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-61106.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-61106.stderr
CommitLineData
dc9dc135
XL
1error[E0308]: mismatched types
2 --> $DIR/issue-61106.rs:3:9
3 |
4LL | foo(x.clone());
923072b8
FG
5 | --- ^^^^^^^^^
6 | | |
7 | | expected `&str`, found struct `String`
8 | | help: consider borrowing here: `&x`
9 | arguments to this function are incorrect
10 |
11note: function defined here
12 --> $DIR/issue-61106.rs:6:4
13 |
14LL | fn foo(_: &str) {}
15 | ^^^ -------
dc9dc135
XL
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0308`.