coverage: Remove useless constants
This commit is contained in:
@@ -33,10 +33,6 @@ rustc_index::newtype_index! {
|
||||
pub struct CounterId {}
|
||||
}
|
||||
|
||||
impl CounterId {
|
||||
pub const START: Self = Self::ZERO;
|
||||
}
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
/// ID of a coverage-counter expression. Values ascend from 0.
|
||||
///
|
||||
@@ -55,10 +51,6 @@ rustc_index::newtype_index! {
|
||||
pub struct ExpressionId {}
|
||||
}
|
||||
|
||||
impl ExpressionId {
|
||||
pub const START: Self = Self::ZERO;
|
||||
}
|
||||
|
||||
/// Enum that can hold a constant zero value, the ID of an physical coverage
|
||||
/// counter, or the ID of a coverage-counter expression.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user