summaryrefslogtreecommitdiffstats
path: root/third_party/rust/async-trait/tests/ui/must-use.stderr
blob: 9b71d109f7f3c4f8a824814afe1602f487cc24ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: unused return value of `Interface::f` that must be used
  --> tests/ui/must-use.rs:18:5
   |
18 |     Thing.f();
   |     ^^^^^^^^^
   |
note: the lint level is defined here
  --> tests/ui/must-use.rs:1:9
   |
1  | #![deny(unused_must_use)]
   |         ^^^^^^^^^^^^^^^
help: use `let _ = ...` to ignore the resulting value
   |
18 |     let _ = Thing.f();
   |     +++++++