Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-31769.rs
blob: 794c1d19893885c299c32f9ee7e4a310a4c359ba [
file
] [
log
] [
blame
]
fn
main
()
{
#[
inline
]
struct
Foo
;
//~ ERROR attribute should be applied to function or closure
#[
repr
(
C
)]
fn
foo
()
{}
//~ ERROR attribute should be applied to struct, enum or union
}