2021-08-18 04:05:59 -05:00
|
|
|
// --force-warn $LINT_GROUP causes $LINT in $LINT_GROUP to warn
|
|
|
|
// despite all warnings being allowed in module
|
|
|
|
// warn-by-default lint to warn
|
2021-07-24 03:08:33 -05:00
|
|
|
// compile-flags: --force-warn nonstandard_style
|
2021-06-02 10:09:07 -05:00
|
|
|
// check-pass
|
|
|
|
|
|
|
|
#![allow(warnings)]
|
|
|
|
|
|
|
|
pub fn FUNCTION() {}
|
|
|
|
//~^ WARN function `FUNCTION` should have a snake case name
|
|
|
|
|
|
|
|
fn main() {}
|