]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/ptr_arg.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / ptr_arg.stderr
index a9613daadde1023cd3953ff27dd9fdbbf4a0a4b0..7ec4a566ff34be186c0da78582bee69f398d4d82 100644 (file)
@@ -56,7 +56,8 @@ LL |     let f = e.clone(); // OK
 LL |     let g = x;
 LL ~     let h = g.to_owned();
 LL |     let i = (e).clone();
- ...
+LL ~     x.to_owned()
+   |
 
 error: writing `&String` instead of `&str` involves a new object where a slice will do
   --> $DIR/ptr_arg.rs:57:18