When lint attributes in the same scope overlap, all but the last declared one are dropped #53079
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground link
The above code should fail to compile with an error about trying to
allow
aforbid
den lint, but successfully builds without any warnings. Tested on latest stable/beta/nightly.The text was updated successfully, but these errors were encountered: