Sign in
◑
Theme
rust
/
rust
/
22cf1fb6fe6b97ebc190824375a2c9701abb850a
/
.
/
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
()
{}