You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
270 B
12 lines
270 B
7 months ago
|
error: unused return value of `Interface::f` that must be used
|
||
|
--> $DIR/must-use.rs:18:5
|
||
|
|
|
||
|
18 | Thing.f();
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/must-use.rs:1:9
|
||
|
|
|
||
|
1 | #![deny(unused_must_use)]
|
||
|
| ^^^^^^^^^^^^^^^
|