rust/tests/ui/parser/issues/issue-89971-outer-attr-following-inner-attr-ice.rs
2023-01-11 09:32:08 +00:00

16 lines
314 B
Rust

// aux-build:issue-89971-outer-attr-following-inner-attr-ice.rs
#[macro_use]
extern crate issue_89971_outer_attr_following_inner_attr_ice;
fn main() {
Mew();
X {};
}
#![deny(missing_docs)]
//~^ ERROR an inner attribute is not permitted in this context
#[derive(ICE)]
#[deny(missing_docs)]
struct Mew();