coverage: Remove useless constants
This commit is contained in:
parent
4fd4797c26
commit
e08fdb0f2f
3 changed files with 5 additions and 13 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue