Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
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
}