path attribute is silently accepted and ignored for inline mod items. #13156
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider the following program
p.rs
:I don't know if this is considered a bug or a feature, but we should probably emit a warning when we encounter that useless
path
attribute attached toq
above.The text was updated successfully, but these errors were encountered: