// compile-flags: -Z parse-only | |
// 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() {} |