blob: 658f6a7266b647d37ea03c57ea19c1b7c0b54579 [file] [log] [blame]
// --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() {}