We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CoverageSpan
1 parent bf8716f commit 1a3dbe5Copy full SHA for 1a3dbe5
compiler/rustc_mir_transform/src/coverage/spans.rs
@@ -65,14 +65,14 @@ impl CoverageSpans {
65
/// `dominates()` the `BasicBlock`s in this `CoverageSpan`.
66
#[derive(Debug, Clone)]
67
struct CoverageSpan {
68
- pub span: Span,
69
- pub expn_span: Span,
70
- pub current_macro_or_none: OnceCell<Option<Symbol>>,
71
- pub bcb: BasicCoverageBlock,
+ span: Span,
+ expn_span: Span,
+ current_macro_or_none: OnceCell<Option<Symbol>>,
+ bcb: BasicCoverageBlock,
72
/// List of all the original spans from MIR that have been merged into this
73
/// span. Mainly used to precisely skip over gaps when truncating a span.
74
- pub merged_spans: Vec<Span>,
75
- pub is_closure: bool,
+ merged_spans: Vec<Span>,
+ is_closure: bool,
76
}
77
78
impl CoverageSpan {
0 commit comments