]>
Commit | Line | Data |
---|---|---|
0bf4aa26 | 1 | error: an inner attribute is not permitted following an outer doc comment |
416331ca | 2 | --> $DIR/inner-attr-after-doc-comment.rs:6:1 |
0bf4aa26 | 3 | | |
416331ca XL |
4 | LL | / /** |
5 | LL | | * My module | |
6 | LL | | */ | |
7 | | |___- previous doc comment | |
8 | LL | | |
9 | LL | #![recursion_limit="100"] | |
72b1a166 | 10 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attribute |
0bf4aa26 XL |
11 | | |
12 | = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them. | |
13 | ||
14 | error: aborting due to previous error | |
15 |