]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-61106.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-61106.stderr
index ca67d5149284504733b9000a26e63c01f7afe262..163aa816ab789ee641d6c728449cda952b76a460 100644 (file)
@@ -4,11 +4,8 @@ error[E0308]: mismatched types
 LL |     foo(x.clone());
    |         ^^^^^^^^^
    |         |
-   |         expected &str, found struct `std::string::String`
+   |         expected `&str`, found struct `std::string::String`
    |         help: consider borrowing here: `&x`
-   |
-   = note: expected type `&str`
-              found type `std::string::String`
 
 error: aborting due to previous error