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-24 05:48:20 +00:00
#[stable(feature = "rust1", since = "1.0.0")]
//~^ ERROR expected item after attributes
}
fn main() {}