]>
Commit | Line | Data |
---|---|---|
3c0e092e XL |
1 | error: an inner attribute is not permitted in this context |
2 | --> $DIR/issue-89971-outer-attr-following-inner-attr-ice.rs:11:1 | |
3 | | | |
4 | LL | #![deny(missing_docs)] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
6 | ... | |
7 | LL | struct Mew(); | |
8 | | ------------- the inner attribute doesn't annotate this struct | |
9 | | | |
10 | = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files | |
11 | help: to annotate the struct, change the attribute from inner to outer style | |
12 | | | |
13 | LL - #![deny(missing_docs)] | |
14 | LL + #[deny(missing_docs)] | |
923072b8 | 15 | | |
3c0e092e XL |
16 | |
17 | error: aborting due to previous error | |
18 |