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

9 lines
136 B
Rust
Raw Normal View History

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