17 lines
430 B
Plaintext
17 lines
430 B
Plaintext
warning: function `dead_function` is never used
|
|
--> $DIR/warn-by-default-lint-two-modules.rs:9:8
|
|
|
|
|
LL | fn dead_function() {}
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: requested on the command line with `--force-warn dead-code`
|
|
|
|
warning: function `dead_function` is never used
|
|
--> $DIR/warn-by-default-lint-two-modules.rs:14:8
|
|
|
|
|
LL | fn dead_function() {}
|
|
| ^^^^^^^^^^^^^
|
|
|
|
warning: 2 warnings emitted
|
|
|