Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
chinedufn committed Oct 2, 2023
1 parent 9bb55a0 commit bf4df06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions compiler/rustc_passes/src/dead.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,12 +972,7 @@ fn check_mod_deathness(tcx: TyCtxt<'_>, module: LocalDefId) {
visitor.warn_multiple(def_id, "read", dead_fields, is_positional);
}

visitor.warn_multiple(
item.owner_id.def_id,
"constructed",
dead_variants,
false,
);
visitor.warn_multiple(item.owner_id.def_id, "constructed", dead_variants, false);
}
}

Expand Down

0 comments on commit bf4df06

Please sign in to comment.