summary refs log tree commit diff
path: root/src/test/ui/parser/issue-20711-2.rs
blob: 49b8de03c37476e687e6b640b12f5b6d581aa9e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// ignore-tidy-linelength

struct Foo;

impl Foo {
    fn foo() {}

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

fn main() {}