]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/force-warn/force-allowed-warning.rs
Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett
[rust.git] / src / test / ui / lint / force-warn / force-allowed-warning.rs
1 // compile-flags: --force-warns dead_code -Zunstable-options
2 // check-pass
3
4 #![allow(dead_code)]
5
6 fn dead_function() {}
7 //~^ WARN function is never used
8
9 fn main() {}