rust/tests/ui/parser/issues/issue-41155.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
130 B
Rust
Raw Normal View History

struct S;
impl S {
2020-02-23 05:54:00 -06:00
pub //~ ERROR visibility `pub` is not followed by an item
} //~ ERROR non-item in item list
fn main() {}