fork/rust

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

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

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