Skip to content

Commit fb14386

Browse files
Remove unnecessary allows
1 parent 852afa2 commit fb14386

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_mir/dataflow/generic/graphviz.rs

-3
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ pub struct SimpleDiff<T: Idx> {
387387
}
388388

389389
impl<T: Idx> SimpleDiff<T> {
390-
#![allow(unused)]
391390
pub fn new(bits_per_block: usize) -> Self {
392391
SimpleDiff { prev_state: BitSet::new_empty(bits_per_block), prev_loc: Location::START }
393392
}
@@ -434,7 +433,6 @@ pub struct TwoPhaseDiff<T: Idx> {
434433
}
435434

436435
impl<T: Idx> TwoPhaseDiff<T> {
437-
#![allow(unused)]
438436
pub fn new(bits_per_block: usize) -> Self {
439437
TwoPhaseDiff { prev_state: BitSet::new_empty(bits_per_block), prev_loc: Location::START }
440438
}
@@ -492,7 +490,6 @@ pub struct BlockTransferFunc<'a, 'tcx, T: Idx> {
492490
}
493491

494492
impl<T: Idx> BlockTransferFunc<'mir, 'tcx, T> {
495-
#![allow(unused)]
496493
pub fn new(
497494
body: &'mir mir::Body<'tcx>,
498495
trans_for_block: IndexVec<BasicBlock, GenKillSet<T>>,

0 commit comments

Comments
 (0)