coverage: Make the remaining fields of CoverageSpan
non-public
The struct itself is already non-public, so having public fields doesn't achieve anything.
This commit is contained in:
parent
cd5084388a
commit
514e026853
@ -68,12 +68,12 @@ impl CoverageSpans {
|
|||||||
/// `dominates()` the `BasicBlock`s in this `CoverageSpan`.
|
/// `dominates()` the `BasicBlock`s in this `CoverageSpan`.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
struct CoverageSpan {
|
struct CoverageSpan {
|
||||||
pub span: Span,
|
span: Span,
|
||||||
pub bcb: BasicCoverageBlock,
|
bcb: BasicCoverageBlock,
|
||||||
/// List of all the original spans from MIR that have been merged into this
|
/// List of all the original spans from MIR that have been merged into this
|
||||||
/// span. Mainly used to precisely skip over gaps when truncating a span.
|
/// span. Mainly used to precisely skip over gaps when truncating a span.
|
||||||
pub merged_spans: Vec<Span>,
|
merged_spans: Vec<Span>,
|
||||||
pub is_closure: bool,
|
is_closure: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CoverageSpan {
|
impl CoverageSpan {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user