fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: an inner attribute is not permitted following an outer doc comment 2 --> $DIR/inner-attr-after-doc-comment.rs:6:1 3 | 4LL | / /** 5LL | | * My module 6LL | | */ 7 | |___- previous doc comment 8LL | 9LL | #![recursion_limit="100"] 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer doc comment 11LL | 12LL | fn main() {} 13 | ------------ the inner attribute doesn't annotate this function 14 | 15 = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files 16help: to annotate the function, change the attribute from inner to outer style 17 | 18LL - #![recursion_limit="100"] 19LL + #[recursion_limit="100"] 20 | 21 22error: aborting due to previous error 23