1 error: unused return value of `foo` that must be used
2 --> $DIR/must_use-unit.rs:14:5
4 LL | foo(); //~ unused return value of `foo`
7 note: lint level defined here
8 --> $DIR/must_use-unit.rs:3:9
10 LL | #![deny(unused_must_use)]
13 error: unused return value of `bar` that must be used
14 --> $DIR/must_use-unit.rs:16:5
16 LL | bar(); //~ unused return value of `bar`
19 error: aborting due to 2 previous errors