fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: unused return value of `foo` that must be used 2 --> $DIR/must_use-unit.rs:13:5 3 | 4LL | foo(); 5 | ^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/must_use-unit.rs:2:9 9 | 10LL | #![deny(unused_must_use)] 11 | ^^^^^^^^^^^^^^^ 12 13error: unused return value of `bar` that must be used 14 --> $DIR/must_use-unit.rs:15:5 15 | 16LL | bar(); 17 | ^^^^^^ 18 19error: aborting due to 2 previous errors 20