Skip to content

Commit 3ef1afc

Browse files
committed
remove now unnecessary constraint on BitDenotation for fn do_dataflow.
1 parent e8ebc90 commit 3ef1afc

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_mir/dataflow

1 file changed

+1
-2
lines changed

src/librustc_mir/dataflow/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ pub use self::impls::borrows::{Borrows, BorrowData, BorrowIndex};
3030
pub(crate) use self::drop_flag_effects::*;
3131

3232
use self::move_paths::MoveData;
33-
use self::indexes::MovePathIndex;
3433

3534
mod drop_flag_effects;
3635
mod graphviz;
@@ -90,7 +89,7 @@ pub(crate) fn do_dataflow<'a, 'tcx, BD, P>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
9089
bd: BD,
9190
p: P)
9291
-> DataflowResults<BD>
93-
where BD: BitDenotation<Idx=MovePathIndex> + DataflowOperator,
92+
where BD: BitDenotation + DataflowOperator,
9493
P: Fn(&BD, BD::Idx) -> &fmt::Debug
9594
{
9695
let name_found = |sess: &Session, attrs: &[ast::Attribute], name| -> Option<String> {

0 commit comments

Comments
 (0)