]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/str_to_string.stderr
Rollup merge of #102625 - Rageking8:fix-backtrace-small-typo, r=m-ou-se
[rust.git] / src / tools / clippy / tests / ui / str_to_string.stderr
index b1f73eda5d26c2e75c10e87d81aec835dd309462..1d47da571fa1f370bb07fd6526f042a272669f0b 100644 (file)
@@ -4,8 +4,8 @@ error: `to_string()` called on a `&str`
 LL |     let hello = "hello world".to_string();
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-   = note: `-D clippy::str-to-string` implied by `-D warnings`
    = help: consider using `.to_owned()`
+   = note: `-D clippy::str-to-string` implied by `-D warnings`
 
 error: `to_string()` called on a `&str`
   --> $DIR/str_to_string.rs:6:5