fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unused implementer of `Future` that must be used 2 --> $DIR/unused-async.rs:31:5 3 | 4LL | foo(); 5 | ^^^^^ 6 | 7 = note: futures do nothing unless you `.await` or poll them 8note: the lint level is defined here 9 --> $DIR/unused-async.rs:2:9 10 | 11LL | #![deny(unused_must_use)] 12 | ^^^^^^^^^^^^^^^ 13 14error: unused return value of `foo` that must be used 15 --> $DIR/unused-async.rs:31:5 16 | 17LL | foo(); 18 | ^^^^^ 19 | 20help: use `let _ = ...` to ignore the resulting value 21 | 22LL | let _ = foo(); 23 | +++++++ 24 25error: unused output of future returned by `foo` that must be used 26 --> $DIR/unused-async.rs:33:5 27 | 28LL | foo().await; 29 | ^^^^^^^^^^^ 30 | 31help: use `let _ = ...` to ignore the resulting value 32 | 33LL | let _ = foo().await; 34 | +++++++ 35 36error: unused implementer of `Future` that must be used 37 --> $DIR/unused-async.rs:34:5 38 | 39LL | bar(); 40 | ^^^^^ 41 | 42 = note: futures do nothing unless you `.await` or poll them 43 44error: unused return value of `bar` that must be used 45 --> $DIR/unused-async.rs:34:5 46 | 47LL | bar(); 48 | ^^^^^ 49 | 50help: use `let _ = ...` to ignore the resulting value 51 | 52LL | let _ = bar(); 53 | +++++++ 54 55error: unused implementer of `Future` that must be used 56 --> $DIR/unused-async.rs:37:5 57 | 58LL | baz(); 59 | ^^^^^ 60 | 61 = note: futures do nothing unless you `.await` or poll them 62 63error: aborting due to 6 previous errors 64