edition compatibility lints: Warning about dyn
in a macro incorrectly
#56327
Labels
A-edition-2018-lints
Area: Lints supporting the 2018 edition
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code:
when compiled under 2015 edition yields:
but the warning and suggestion are incorrect!
First reported at rust-lang/cargo#6359
This also applies to macro invocations
The text was updated successfully, but these errors were encountered: