]> 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 4c75998437fd5c256ed6789de53cbf68706825c3..825aa1487e7a3f682ed07a2f133ee2cf3f3a6df7 100644 (file)
@@ -4,7 +4,7 @@ error: `std::string::String` may not be held across an `await` point per `clippy
 LL |     let _x = String::from("hello");
    |         ^^
    |
-   = note: strings are bad
+   = note: strings are bad (from clippy.toml)
    = note: `-D clippy::await-holding-invalid-type` implied by `-D warnings`
 
 error: `std::net::Ipv4Addr` may not be held across an `await` point per `clippy.toml`
@@ -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