summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/redundant-semicolon/item-stmt-semi.rs
blob: 8c79630b7fd2cb5fb9776ae49f8be6843b63e894 (plain)
1
2
3
4
5
6
#![deny(redundant_semicolons)]

fn main() {
    fn inner() {}; //~ ERROR unnecessary
    struct Bar {}; //~ ERROR unnecessary
}