coverage: Arrange imports in rustc_mir_transform::coverage::debug

This commit is contained in:
Zalathar 2023-09-15 16:40:13 +10:00
parent c48e6ffce5
commit d79cd17199

View File

@ -108,24 +108,23 @@
//! recursively, generating labels with nested operations, enclosed in parentheses //! recursively, generating labels with nested operations, enclosed in parentheses
//! (for example: `bcb2 + (bcb0 - bcb1)`). //! (for example: `bcb2 + (bcb0 - bcb1)`).
use super::counters::{BcbCounter, CoverageCounters}; use std::iter;
use super::graph::{BasicCoverageBlock, BasicCoverageBlockData, CoverageGraph}; use std::ops::Deref;
use super::spans::CoverageSpan; use std::sync::OnceLock;
use itertools::Itertools; use itertools::Itertools;
use rustc_data_structures::fx::FxHashMap;
use rustc_middle::mir::coverage::*;
use rustc_middle::mir::create_dump_file; use rustc_middle::mir::create_dump_file;
use rustc_middle::mir::generic_graphviz::GraphvizWriter; use rustc_middle::mir::generic_graphviz::GraphvizWriter;
use rustc_middle::mir::spanview::{self, SpanViewable}; use rustc_middle::mir::spanview::{self, SpanViewable};
use rustc_data_structures::fx::FxHashMap;
use rustc_middle::mir::coverage::*;
use rustc_middle::mir::{self, BasicBlock}; use rustc_middle::mir::{self, BasicBlock};
use rustc_middle::ty::TyCtxt; use rustc_middle::ty::TyCtxt;
use rustc_span::Span; use rustc_span::Span;
use std::iter; use super::counters::{BcbCounter, CoverageCounters};
use std::ops::Deref; use super::graph::{BasicCoverageBlock, BasicCoverageBlockData, CoverageGraph};
use std::sync::OnceLock; use super::spans::CoverageSpan;
pub const NESTED_INDENT: &str = " "; pub const NESTED_INDENT: &str = " ";