summary refs log tree commit diff
path: root/src/test/ui/parser/issue-20711-2.rs
blob: 0063a334182f433e7d30ec4388df47e6f97f7a2b (plain)
1
2
3
4
5
6
7
8
9
struct Foo;

impl Foo {
    fn foo() {}

    #[stable(feature = "rust1", since = "1.0.0")]
} //~ ERROR expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, or

fn main() {}