rust/tests/ui/lint/force-warn/allowed-warn-by-default-lin...

11 lines
254 B
Plaintext

warning: function `dead_function` is never used
--> $DIR/allowed-warn-by-default-lint.rs:8:4
|
LL | fn dead_function() {}
| ^^^^^^^^^^^^^
|
= note: requested on the command line with `--force-warn dead-code`
warning: 1 warning emitted