rust/tests/ui/parser/issues/issue-20711-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
153 B
Rust
Raw Normal View History

struct Foo;
impl Foo {
fn foo() {}
2015-01-23 23:48:20 -06:00
#[stable(feature = "rust1", since = "1.0.0")]
//~^ ERROR expected item after attributes
}
fn main() {}