mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
4bb7bf64e0
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
5 lines
172 B
Rust
5 lines
172 B
Rust
fn main() {
|
|
#[inline] struct Foo; //~ ERROR attribute cannot be used on
|
|
#[repr(C)] fn foo() {} //~ ERROR attribute should be applied to a struct, enum, or union
|
|
}
|