fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
744 B23 linesraw
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