You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the shadow_reuse lint explicitly enabled in my crates.
However, in a couple of places, I would like to be able to shadow an existing variable. In such cases, I have an explicit #![allow(shadow_reuse)] right before the statement. However, clippy still emits an error for this case.
I have the
shadow_reuse
lint explicitly enabled in my crates.However, in a couple of places, I would like to be able to shadow an existing variable. In such cases, I have an explicit
#![allow(shadow_reuse)]
right before the statement. However, clippy still emits an error for this case.Short example: https://play.rust-lang.org/?gist=62855503c6e8760c3a419792ee56440e&version=nightly&mode=debug
The text was updated successfully, but these errors were encountered: