@@ -7,13 +7,9 @@ mod spans;
7
7
#[ cfg( test) ]
8
8
mod tests;
9
9
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
+ } ;
17
13
use rustc_middle:: mir:: {
18
14
self , BasicBlock , BasicBlockData , SourceInfo , Statement , StatementKind , Terminator ,
19
15
TerminatorKind ,
@@ -23,6 +19,11 @@ use rustc_span::def_id::LocalDefId;
23
19
use rustc_span:: source_map:: SourceMap ;
24
20
use rustc_span:: { BytePos , Pos , RelativeBytePos , Span , Symbol } ;
25
21
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
+
26
27
/// Inserts `StatementKind::Coverage` statements that either instrument the binary with injected
27
28
/// counters, via intrinsic `llvm.instrprof.increment`, and/or inject metadata used during codegen
28
29
/// to construct the coverage map.
0 commit comments