]> git.lizzy.rs Git - rust.git/blob - src/test/ui/warn-path-statement.rs
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[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 }