diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-04 11:04:32 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-04 11:07:59 +1100 |
| commit | e08fdb0f2fcb4cabb430b0512331bb781b4ea653 (patch) | |
| tree | 07a598d6f04af9532db4210c790e1b7efe75e57a /compiler/rustc_middle/src/mir/coverage.rs | |
| parent | 4fd4797c2654977f545c9a91e2aa4e6cdbb38919 (diff) | |
| download | rust-e08fdb0f2fcb4cabb430b0512331bb781b4ea653.tar.gz rust-e08fdb0f2fcb4cabb430b0512331bb781b4ea653.zip | |
coverage: Remove useless constants
Diffstat (limited to 'compiler/rustc_middle/src/mir/coverage.rs')
| -rw-r--r-- | compiler/rustc_middle/src/mir/coverage.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_middle/src/mir/coverage.rs b/compiler/rustc_middle/src/mir/coverage.rs index 0c91dc6d3c6..582a1806688 100644 --- a/compiler/rustc_middle/src/mir/coverage.rs +++ b/compiler/rustc_middle/src/mir/coverage.rs @@ -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. /// |
