]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/unnecessary_owned_empty_strings.stderr
Rollup merge of #101634 - aDotInTheVoid:rdj-test, r=CraftSpider
[rust.git] / src / tools / clippy / tests / ui / unnecessary_owned_empty_strings.stderr
index 46bc4597b335f0bfb7be4ce8053f46b3735e95b4..1eb198a8675ea1b2f172667f6f8807d2f624d0fa 100644 (file)
@@ -7,7 +7,7 @@ LL |     ref_str_argument(&String::new());
    = note: `-D clippy::unnecessary-owned-empty-strings` implied by `-D warnings`
 
 error: usage of `&String::from("")` for a function expecting a `&str` argument
-  --> $DIR/unnecessary_owned_empty_strings.rs:15:22
+  --> $DIR/unnecessary_owned_empty_strings.rs:16:22
    |
 LL |     ref_str_argument(&String::from(""));
    |                      ^^^^^^^^^^^^^^^^^ help: try: `""`