summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-20711-2.rs
blob: 168c7e76162bcffc6d42e3920b727a41a2cfde09 (plain)
1
2
3
4
5
6
7
8
9
10
struct Foo;

impl Foo {
    fn foo() {}

    #[stable(feature = "rust1", since = "1.0.0")]
    //~^ ERROR expected item after attributes
}

fn main() {}