13 lines
344 B
Plaintext
13 lines
344 B
Plaintext
error: unused pinned boxed `Future` trait object that must be used
|
|
--> tests/ui/must-use.rs:18:5
|
|
|
|
|
18 | Thing.f();
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: futures do nothing unless you `.await` or poll them
|
|
note: the lint level is defined here
|
|
--> tests/ui/must-use.rs:1:9
|
|
|
|
|
1 | #![deny(unused_must_use)]
|
|
| ^^^^^^^^^^^^^^^
|