Nightly version ignores allow(unused) #43910
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The current nightly version (rustc 1.21.0-nightly (df511d5 2017-08-14)) warns about an unused variable, even if it's flagged with allow(). The stable version doesn't do so.
https://play.rust-lang.org/?gist=9b81da266dd1f4383760de35d94f7ff6&version=nightly
The text was updated successfully, but these errors were encountered: