Skip to content

Commit f300380

Browse files
committed
resolve: Do not finalize shadowed bindings
I.e. do not mark them as used, or non-speculative loaded, or similar. Previously they were sometimes finalized during early resolution, causing issues like rust-lang/rust#144793 (comment).
1 parent 288b931 commit f300380

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/config/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ mod test {
516516
#[allow(dead_code)]
517517
mod mock {
518518
use super::super::*;
519-
use crate::config_option_with_style_edition_default;
520519
use rustfmt_config_proc_macro::config_type;
521520

522521
#[config_type]

0 commit comments

Comments
 (0)