Suggest macro import #75191
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-proc-macros
Area: Procedural macros
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.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: compiler should suggest importing
Component
fromspecs
(it is in Cargo.toml).Instead, this happened: compiler say cannot find macro 'Component' but did not suggest importing it like other functions
Meta
rustc --version --verbose
:Also not available in stable.
The text was updated successfully, but these errors were encountered: