summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/force-warn/lint-group-allow-warnings.rs
blob: 4b95f4d2dfbbaa5b9fe5fc42263bfe3c1f66ca1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// --force-warn $LINT_GROUP causes $LINT in $LINT_GROUP to warn
// despite all warnings being allowed in module
// warn-by-default lint to warn
// compile-flags: --force-warn nonstandard_style
// check-pass

#![allow(warnings)]

pub fn FUNCTION() {}
//~^ WARN function `FUNCTION` should have a snake case name

fn main() {}