X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftools%2Fclippy%2Ftests%2Fui%2Funnecessary_to_owned.stderr;h=243b4599dba427ccc2c657014b473aef7a4ed750;hb=a1b06388ce42ab7dd8aad1aebf87fa5299e2e08a;hp=af7e7b41fb0045a6a44652a20ce60436e05a62b4;hpb=880d3ea3c22dbdfdcaa288ac2b60fb1126bb828d;p=rust.git diff --git a/src/tools/clippy/tests/ui/unnecessary_to_owned.stderr b/src/tools/clippy/tests/ui/unnecessary_to_owned.stderr index af7e7b41fb0..243b4599dba 100644 --- a/src/tools/clippy/tests/ui/unnecessary_to_owned.stderr +++ b/src/tools/clippy/tests/ui/unnecessary_to_owned.stderr @@ -489,7 +489,7 @@ help: remove this `&` | LL - let path = match get_file_path(&t) { LL + let path = match get_file_path(t) { - | + | error: unnecessary use of `to_vec` --> $DIR/unnecessary_to_owned.rs:221:14