fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unused implementer of `Iterator` that must be used 2 --> $DIR/must_use-in-stdlib-traits.rs:42:4 3 | 4LL | iterator(); 5 | ^^^^^^^^^^ 6 | 7 = note: iterators are lazy and do nothing unless consumed 8note: the lint level is defined here 9 --> $DIR/must_use-in-stdlib-traits.rs:1:9 10 | 11LL | #![deny(unused_must_use)] 12 | ^^^^^^^^^^^^^^^ 13 14error: unused implementer of `Future` that must be used 15 --> $DIR/must_use-in-stdlib-traits.rs:43:4 16 | 17LL | future(); 18 | ^^^^^^^^ 19 | 20 = note: futures do nothing unless you `.await` or poll them 21 22error: unused implementer of `FnOnce` that must be used 23 --> $DIR/must_use-in-stdlib-traits.rs:44:4 24 | 25LL | square_fn_once(); 26 | ^^^^^^^^^^^^^^^^ 27 | 28 = note: closures are lazy and do nothing unless called 29 30error: unused implementer of `FnMut` that must be used 31 --> $DIR/must_use-in-stdlib-traits.rs:45:4 32 | 33LL | square_fn_mut(); 34 | ^^^^^^^^^^^^^^^ 35 | 36 = note: closures are lazy and do nothing unless called 37 38error: unused implementer of `Fn` that must be used 39 --> $DIR/must_use-in-stdlib-traits.rs:46:4 40 | 41LL | square_fn(); 42 | ^^^^^^^^^^^ 43 | 44 = note: closures are lazy and do nothing unless called 45 46error: aborting due to 5 previous errors 47