]> git.lizzy.rs Git - rust.git/blob - src/test/ui/warn-path-statement.rs
Auto merge of #57006 - GuillaumeGomez:no-crate-filter, r=QuietMisdreavus
[rust.git] / src / test / ui / warn-path-statement.rs
1 // compile-flags: -D path-statements
2 fn main() {
3
4     let x = 10;
5     x; //~ ERROR path statement with no effect
6 }