#[macro use] should suggest #[macro_use] and similar #53411
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I swapped an underscore for a space while typing out the attribute. It'd be nice if the error message said that instead of the mess it shows here:
This should also happen for all the other macros with underscores in them:
crate_name
crate_type
no_builtins
no_main
no_start
no_std
recursion_limit
windows_subsystem
no_implicit_prelude
link_args
linked_from
link_name
macro_use
macro_reexport
macro_export
no_link
export_name
no_mangle
link_section
cfg_attr
must_use
The text was updated successfully, but these errors were encountered: