2016-02-19 22:27:50 +05:30
|
|
|
fn main() {
|
2018-04-27 07:20:46 +02:00
|
|
|
#[inline] struct Foo; //~ ERROR attribute should be applied to function or closure
|
2020-09-10 19:54:17 +01:00
|
|
|
#[repr(C)] fn foo() {} //~ ERROR attribute should be applied to a struct, enum, or union
|
2016-02-19 22:27:50 +05:30
|
|
|
}
|