cfg resolve diagnostic doesn't show up for axum macro #134448
Labels
A-cfg
Area: `cfg` conditional compilation
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Without the macro feature enabled.
Current output
Desired output
Rationale and extra context
The detection of cfg'd out items should treat items that match the expected type (e.g. a macro) as higher priority than items which match the name (e.g.
FromRef
)Other cases
Rust Version
Anything else?
Similar to but not the same as #132166
Possibly relevant to #129183
The text was updated successfully, but these errors were encountered: