Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
tests
/
ui
/
attributes
/
inline-attribute-enum-variant-error.rs
blob: fd2cd49be16d284ad4351b81c117d64ff0ad7f7e [
file
]
//! Test that #[inline] attribute cannot be applied to enum variants
enum
Foo
{
#[
inline
]
//~^ ERROR attribute cannot be used on
Variant
,
}
fn
main
()
{}