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

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

fn main() {}