]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/force-warn/lint-group-allow-warnings.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / force-warn / lint-group-allow-warnings.rs
1 // --force-warn $LINT_GROUP causes $LINT in $LINT_GROUP to warn
2 // despite all warnings being allowed in module
3 // warn-by-default lint to warn
4 // compile-flags: --force-warn nonstandard_style
5 // check-pass
6
7 #![allow(warnings)]
8
9 pub fn FUNCTION() {}
10 //~^ WARN function `FUNCTION` should have a snake case name
11
12 fn main() {}