summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-41155.rs
blob: 5a7488e6ffcb464ef39260dd1be65aae948508ae (plain)
1
2
3
4
5
6
7
struct S;

impl S {
    pub //~ ERROR visibility `pub` is not followed by an item
} //~ ERROR non-item in item list

fn main() {}