2021-10-26 04:45:15 -05:00
|
|
|
error: an inner attribute is not permitted in this context
|
|
|
|
--> $DIR/issue-89971-outer-attr-following-inner-attr-ice.rs:11:1
|
|
|
|
|
|
|
|
|
LL | #![deny(missing_docs)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | struct Mew();
|
|
|
|
| ------------- the inner attribute doesn't annotate this struct
|
|
|
|
|
|
|
|
|
= note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
|
|
|
|
help: to annotate the struct, change the attribute from inner to outer style
|
|
|
|
|
|
|
|
|
LL - #![deny(missing_docs)]
|
|
|
|
LL + #[deny(missing_docs)]
|
2022-06-08 12:34:57 -05:00
|
|
|
|
|
2021-10-26 04:45:15 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-10-26 04:45:15 -05:00
|
|
|
|