Skip to content

Commit a82676e

Browse files
committed
placate tidy in mir::dataflow::graphviz.
1 parent ad1294d commit a82676e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/librustc_borrowck/borrowck/mir/dataflow/graphviz.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ fn outgoing(mir: &Mir, bb: BasicBlock) -> Vec<Edge> {
132132

133133
impl<'a, 'tcx, MWF, P> dot::Labeller<'a> for Graph<'a, 'tcx, MWF, P>
134134
where MWF: MirWithFlowState<'tcx>,
135-
P: for <'b> Fn(&'b <MWF::BD as BitDenotation>::Ctxt, <MWF::BD as BitDenotation>::Idx) -> &'b Debug,
135+
P: for <'b> Fn(&'b <MWF::BD as BitDenotation>::Ctxt,
136+
<MWF::BD as BitDenotation>::Idx)
137+
-> &'b Debug,
136138
{
137139
type Node = Node;
138140
type Edge = Edge;
@@ -243,8 +245,10 @@ impl<'a, 'tcx, MWF, P> dot::Labeller<'a> for Graph<'a, 'tcx, MWF, P>
243245
|w| {
244246
let ctxt = self.mbcx.analysis_ctxt();
245247
let flow = self.mbcx.flow_state();
246-
let gen_interp = flow.interpret_set(ctxt, flow.sets.gen_set_for(i), &self.render_idx);
247-
let kill_interp = flow.interpret_set(ctxt, flow.sets.kill_set_for(i), &self.render_idx);
248+
let gen_interp =
249+
flow.interpret_set(ctxt, flow.sets.gen_set_for(i), &self.render_idx);
250+
let kill_interp =
251+
flow.interpret_set(ctxt, flow.sets.kill_set_for(i), &self.render_idx);
248252
chunked_present_left(w, &gen_interp[..], chunk_size)?;
249253
let bits_per_block = flow.sets.bits_per_block();
250254
{

0 commit comments

Comments
 (0)