rust/src/test/ui/lint/force-warn/force-lint-group-allow-all-warnings.rs
Joshua Nelson 1cdc81bdc1 Don't pass -Z unstable-options by default for UI tests
- Pass it explicitly where appropriate
- Update stderr files and warnings; it turns that unstable-options has
  far-reaching effects on diagnostics.
2021-06-06 00:44:54 -04:00

10 lines
200 B
Rust

// compile-flags: --force-warns nonstandard_style -Zunstable-options
// check-pass
#![allow(warnings)]
pub fn FUNCTION() {}
//~^ WARN function `FUNCTION` should have a snake case name
fn main() {}