]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/redundant-semicolon/item-stmt-semi.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / lint / redundant-semicolon / item-stmt-semi.rs
1 #![deny(redundant_semicolons)]
2
3 fn main() {
4     fn inner() {}; //~ ERROR unnecessary
5     struct Bar {}; //~ ERROR unnecessary
6 }