1 error: unused closure that must be used
2 --> $DIR/unused-closure.rs:9:5
5 LL | | println!("Hello!");
9 = note: closures are lazy and do nothing unless called
10 note: the lint level is defined here
11 --> $DIR/unused-closure.rs:6:9
13 LL | #![deny(unused_must_use)]
16 error: unused implementer of `Future` that must be used
17 --> $DIR/unused-closure.rs:13:5
22 = note: futures do nothing unless you `.await` or poll them
24 error: unused closure that must be used
25 --> $DIR/unused-closure.rs:14:5
30 = note: closures are lazy and do nothing unless called
32 error: unused closure that must be used
33 --> $DIR/unused-closure.rs:15:5
38 = note: closures are lazy and do nothing unless called
40 error: unused array of boxed arrays of closures that must be used
41 --> $DIR/unused-closure.rs:18:5
43 LL | [Box::new([|| {}; 10]); 1];
44 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
46 = note: closures are lazy and do nothing unless called
48 error: unused closure that must be used
49 --> $DIR/unused-closure.rs:20:5
51 LL | vec![|| "a"].pop().unwrap();
52 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
54 = note: closures are lazy and do nothing unless called
56 error: unused closure that must be used
57 --> $DIR/unused-closure.rs:23:9
62 = note: closures are lazy and do nothing unless called
64 error: aborting due to 7 previous errors