Closed
Description
When compiling a no_std
crate it already happened multiple times that I forgot the !
after the #
in #![no_std]
(or similar) attribute specifiers making it a useless #[no_std]
causing compilation troubles because I accidentally pulled std due to this. The compiler doesn't warn for misusage of known attributes like no_std
and I am not sure if it should. But it would be awesome to have a clippy
lint for this situation! Would have saved me hours of debugging already - ashamed.
Metadata
Metadata
Assignees
Labels
No labels