2016-02-19 10:57:50 -06:00
|
|
|
fn main() {
|
2018-04-27 00:20:46 -05:00
|
|
|
#[inline] struct Foo; //~ ERROR attribute should be applied to function or closure
|
2019-05-22 09:31:09 -05:00
|
|
|
#[repr(C)] fn foo() {} //~ ERROR attribute should be applied to struct, enum, or union
|
2016-02-19 10:57:50 -06:00
|
|
|
}
|