]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui-toml/await_holding_invalid_type/await_holding_invalid_type.stderr
[arithmetic-side-effects]: Consider user-provided pairs
[rust.git] / tests / ui-toml / await_holding_invalid_type / await_holding_invalid_type.stderr
index 62c45b54634f4298060b729a3674e9d2bfe1468a..825aa1487e7a3f682ed07a2f133ee2cf3f3a6df7 100644 (file)
@@ -4,8 +4,8 @@ error: `std::string::String` may not be held across an `await` point per `clippy
 LL |     let _x = String::from("hello");
    |         ^^
    |
+   = note: strings are bad (from clippy.toml)
    = note: `-D clippy::await-holding-invalid-type` implied by `-D warnings`
-   = note: strings are bad
 
 error: `std::net::Ipv4Addr` may not be held across an `await` point per `clippy.toml`
   --> $DIR/await_holding_invalid_type.rs:10:9
@@ -19,7 +19,7 @@ error: `std::string::String` may not be held across an `await` point per `clippy
 LL |         let _x = String::from("hi!");
    |             ^^
    |
-   = note: strings are bad
+   = note: strings are bad (from clippy.toml)
 
 error: aborting due to 3 previous errors