]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/force-warn/force-lint-group-allow-all-warnings.rs
Rollup merge of #87354 - Wind-River:2021_master, r=kennytm
[rust.git] / src / test / ui / lint / force-warn / force-lint-group-allow-all-warnings.rs
1 // compile-flags: --force-warn nonstandard_style -Zunstable-options
2 // check-pass
3
4 #![allow(warnings)]
5
6 pub fn FUNCTION() {}
7 //~^ WARN function `FUNCTION` should have a snake case name
8
9 fn main() {}