]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/inner-attr-after-doc-comment.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / inner-attr-after-doc-comment.stderr
1 error: an inner attribute is not permitted following an outer doc comment
2   --> $DIR/inner-attr-after-doc-comment.rs:6:1
3    |
4 LL | / /**
5 LL | |  * My module
6 LL | |  */
7    | |___- previous doc comment
8 LL | 
9 LL |   #![recursion_limit="100"]
10    |   ^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attribute
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