Closed
Description
http://is.gd/mRtTeS causes an error, as expected:
#[inline] // error: attribute should be applied to function
struct Foo(usize);
fn main() {
}
http://is.gd/POCLQo should cause the same error, but is allowed:
fn main() {
#[inline]
struct Foo(usize);
}