fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unused `Result` in tuple element 0 that must be used 2 --> $DIR/must_use-tuple.rs:8:6 3 | 4LL | (Ok::<(), ()>(()),); 5 | ^^^^^^^^^^^^^^^^ 6 | 7 = note: this `Result` may be an `Err` variant, which should be handled 8note: the lint level is defined here 9 --> $DIR/must_use-tuple.rs:1:9 10 | 11LL | #![deny(unused_must_use)] 12 | ^^^^^^^^^^^^^^^ 13 14error: unused `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 `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 `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 `Result` in tuple element 0 that must be used 39 --> $DIR/must_use-tuple.rs:16:7 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