1 error: unused `std::result::Result` in tuple element 0 that must be used
2 --> $DIR/must_use-tuple.rs:8:6
4 LL | (Ok::<(), ()>(()),);
7 note: the lint level is defined here
8 --> $DIR/must_use-tuple.rs:1:9
10 LL | #![deny(unused_must_use)]
12 = note: this `Result` may be an `Err` variant, which should be handled
14 error: unused `std::result::Result` in tuple element 0 that must be used
15 --> $DIR/must_use-tuple.rs:10:6
17 LL | (Ok::<(), ()>(()), 0, Ok::<(), ()>(()), 5);
20 = note: this `Result` may be an `Err` variant, which should be handled
22 error: unused `std::result::Result` in tuple element 2 that must be used
23 --> $DIR/must_use-tuple.rs:10:27
25 LL | (Ok::<(), ()>(()), 0, Ok::<(), ()>(()), 5);
28 = note: this `Result` may be an `Err` variant, which should be handled
30 error: unused `std::result::Result` in tuple element 0 that must be used
31 --> $DIR/must_use-tuple.rs:14:5
36 = note: this `Result` may be an `Err` variant, which should be handled
38 error: unused `std::result::Result` in tuple element 0 that must be used
39 --> $DIR/must_use-tuple.rs:16:6
41 LL | ((Err::<(), ()>(()), ()), ());
42 | ^^^^^^^^^^^^^^^^^^^^^^^
44 = note: this `Result` may be an `Err` variant, which should be handled
46 error: aborting due to 5 previous errors