fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: unused `std::result::Result` in tuple element 0 that must be used 2 --> $DIR/must_use-tuple.rs:8:6 3 | 4LL | (Ok::<(), ()>(()),); 5 | ^^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/must_use-tuple.rs:1:9 9 | 10LL | #![deny(unused_must_use)] 11 | ^^^^^^^^^^^^^^^ 12 = note: this `Result` may be an `Err` variant, which should be handled 13 14error: unused `std::result::Result` in tuple element 0 that must be used 15 --> $DIR/must_use-tuple.rs:10:6 16 | 17LL | (Ok::<(), ()>(()), 0, Ok::<(), ()>(()), 5); 18 | ^^^^^^^^^^^^^^^^ 19 | 20 = note: this `Result` may be an `Err` variant, which should be handled 21 22error: unused `std::result::Result` in tuple element 2 that must be used 23 --> $DIR/must_use-tuple.rs:10:27 24 | 25LL | (Ok::<(), ()>(()), 0, Ok::<(), ()>(()), 5); 26 | ^^^^^^^^^^^^^^^^ 27 | 28 = note: this `Result` may be an `Err` variant, which should be handled 29 30error: unused `std::result::Result` in tuple element 0 that must be used 31 --> $DIR/must_use-tuple.rs:14:5 32 | 33LL | foo(); 34 | ^^^^^^ 35 | 36 = note: this `Result` may be an `Err` variant, which should be handled 37 38error: unused `std::result::Result` in tuple element 0 that must be used 39 --> $DIR/must_use-tuple.rs:16:6 40 | 41LL | ((Err::<(), ()>(()), ()), ()); 42 | ^^^^^^^^^^^^^^^^^^^^^^^ 43 | 44 = note: this `Result` may be an `Err` variant, which should be handled 45 46error: aborting due to 5 previous errors 47