1cdc81bdc1
- Pass it explicitly where appropriate - Update stderr files and warnings; it turns that unstable-options has far-reaching effects on diagnostics.
10 lines
166 B
Rust
10 lines
166 B
Rust
// compile-flags: --force-warns dead_code -Zunstable-options
|
|
// check-pass
|
|
|
|
#![allow(warnings)]
|
|
|
|
fn dead_function() {}
|
|
//~^ WARN function is never used
|
|
|
|
fn main() {}
|