]> git.lizzy.rs Git - rust.git/blob - 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
1 error: `std::string::String` may not be held across an `await` point per `clippy.toml`
2   --> $DIR/await_holding_invalid_type.rs:5:9
3    |
4 LL |     let _x = String::from("hello");
5    |         ^^
6    |
7    = note: strings are bad (from clippy.toml)
8    = note: `-D clippy::await-holding-invalid-type` implied by `-D warnings`
9
10 error: `std::net::Ipv4Addr` may not be held across an `await` point per `clippy.toml`
11   --> $DIR/await_holding_invalid_type.rs:10:9
12    |
13 LL |     let _x = Ipv4Addr::new(127, 0, 0, 1);
14    |         ^^
15
16 error: `std::string::String` may not be held across an `await` point per `clippy.toml`
17   --> $DIR/await_holding_invalid_type.rs:31:13
18    |
19 LL |         let _x = String::from("hi!");
20    |             ^^
21    |
22    = note: strings are bad (from clippy.toml)
23
24 error: aborting due to 3 previous errors
25