summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-89971-outer-attr-following-inner-attr-ice.rs
blob: fe67d9822fc9ca7d80b748378282d1627d4e5669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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();