@@ -7,13 +7,9 @@ mod spans;
77#[ cfg( test) ]
88mod tests;
99
10- use self :: counters:: { CounterIncrementSite , CoverageCounters } ;
11- use self :: graph:: { BasicCoverageBlock , CoverageGraph } ;
12- use self :: mappings:: ExtractedMappings ;
13-
14- use crate :: MirPass ;
15-
16- use rustc_middle:: mir:: coverage:: * ;
10+ use rustc_middle:: mir:: coverage:: {
11+ CodeRegion , CoverageKind , DecisionInfo , FunctionCoverageInfo , Mapping , MappingKind ,
12+ } ;
1713use rustc_middle:: mir:: {
1814 self , BasicBlock , BasicBlockData , SourceInfo , Statement , StatementKind , Terminator ,
1915 TerminatorKind ,
@@ -23,6 +19,11 @@ use rustc_span::def_id::LocalDefId;
2319use rustc_span:: source_map:: SourceMap ;
2420use rustc_span:: { BytePos , Pos , RelativeBytePos , Span , Symbol } ;
2521
22+ use crate :: coverage:: counters:: { CounterIncrementSite , CoverageCounters } ;
23+ use crate :: coverage:: graph:: { BasicCoverageBlock , CoverageGraph } ;
24+ use crate :: coverage:: mappings:: ExtractedMappings ;
25+ use crate :: MirPass ;
26+
2627/// Inserts `StatementKind::Coverage` statements that either instrument the binary with injected
2728/// counters, via intrinsic `llvm.instrprof.increment`, and/or inject metadata used during codegen
2829/// to construct the coverage map.
0 commit comments