Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-31769.rs
blob: f56c6ea5656854bbf8fda0db213757e87676646f [
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 a struct, enum, or union
}