1 error: unused implementer of `Iterator` that must be used
2 --> $DIR/must_use-in-stdlib-traits.rs:42:4
7 note: the lint level is defined here
8 --> $DIR/must_use-in-stdlib-traits.rs:1:9
10 LL | #![deny(unused_must_use)]
12 = note: iterators are lazy and do nothing unless consumed
14 error: unused implementer of `Future` that must be used
15 --> $DIR/must_use-in-stdlib-traits.rs:43:4
20 = note: futures do nothing unless you `.await` or poll them
22 error: unused implementer of `FnOnce` that must be used
23 --> $DIR/must_use-in-stdlib-traits.rs:44:4
25 LL | square_fn_once();
28 = note: closures are lazy and do nothing unless called
30 error: unused implementer of `FnMut` that must be used
31 --> $DIR/must_use-in-stdlib-traits.rs:45:4
36 = note: closures are lazy and do nothing unless called
38 error: unused implementer of `Fn` that must be used
39 --> $DIR/must_use-in-stdlib-traits.rs:46:4
44 = note: closures are lazy and do nothing unless called
46 error: aborting due to 5 previous errors