fork/rust

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

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

master
716 B20 linesraw
1error: an inner attribute is not permitted following an outer attribute
2  --> $DIR/inner-attr.rs:3:1
3   |
4LL | #[feature(lang_items)]
5   | ---------------------- previous outer attribute
6LL |
7LL | #![recursion_limit="100"]
8   | ^^^^^^^^^^^^^^^^^^^^^^^^^ not permitted following an outer attribute
9LL | fn main() {}
10   | ------------ the inner attribute doesn't annotate this function
11   |
12   = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
13help: to annotate the function, change the attribute from inner to outer style
14   |
15LL - #![recursion_limit="100"]
16LL + #[recursion_limit="100"]
17   |
18
19error: aborting due to previous error
20