]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/issues/issue-89971-outer-attr-following-inner-attr-ice.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / parser / issues / issue-89971-outer-attr-following-inner-attr-ice.stderr
CommitLineData
3c0e092e
XL
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)]
923072b8 15 |
3c0e092e
XL
16
17error: aborting due to previous error
18