Remove unused PlaceContext::NonUse(NonUseContext::Coverage)
This commit is contained in:
parent
683d1bcd40
commit
0016405073
3 changed files with 1 additions and 5 deletions
|
@ -72,8 +72,7 @@ pub fn categorize(context: PlaceContext) -> Option<DefUse> {
|
|||
PlaceContext::MutatingUse(MutatingUseContext::Drop) =>
|
||||
Some(DefUse::Drop),
|
||||
|
||||
// Coverage and debug info are neither def nor use.
|
||||
PlaceContext::NonUse(NonUseContext::Coverage) |
|
||||
// Debug info is neither def nor use.
|
||||
PlaceContext::NonUse(NonUseContext::VarDebugInfo) => None,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,7 +97,6 @@ where
|
|||
PlaceContext::NonUse(
|
||||
NonUseContext::StorageLive
|
||||
| NonUseContext::AscribeUserTy
|
||||
| NonUseContext::Coverage
|
||||
| NonUseContext::VarDebugInfo,
|
||||
)
|
||||
| PlaceContext::NonMutatingUse(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue