fork/rust

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

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

master
602 B18 linesraw
1error: an inner attribute is not permitted in this context
2  --> $DIR/issue-89971-outer-attr-following-inner-attr-ice.rs:11:1
3   |
4LL | #![deny(missing_docs)]
5   | ^^^^^^^^^^^^^^^^^^^^^^
6...
7LL | struct Mew();
8   | ------------- the inner attribute doesn't annotate this struct
9   |
10   = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
11help: to annotate the struct, change the attribute from inner to outer style
12   |
13LL - #![deny(missing_docs)]
14LL + #[deny(missing_docs)]
15   |
16
17error: aborting due to previous error
18