Sign in
android
/
toolchain
/
rustc
/
refs/heads/mirror-goog-main-rust-toolchain-source
/
.
/
tests
/
ui
/
issues
/
issue-31769.rs
blob: 354c1be9ed55476fa47a56a828793e576f670c29 [
file
] [
log
] [
blame
] [
edit
]
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
}