File tree 3 files changed +1
-5
lines changed
3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -1150,8 +1150,6 @@ pub enum NonUseContext {
1150
1150
StorageDead ,
1151
1151
/// User type annotation assertions for NLL.
1152
1152
AscribeUserTy ,
1153
- /// Coverage code region and counter metadata.
1154
- Coverage ,
1155
1153
/// The data of an user variable, for debug info.
1156
1154
VarDebugInfo ,
1157
1155
}
Original file line number Diff line number Diff line change @@ -72,8 +72,7 @@ pub fn categorize(context: PlaceContext) -> Option<DefUse> {
72
72
PlaceContext :: MutatingUse ( MutatingUseContext :: Drop ) =>
73
73
Some ( DefUse :: Drop ) ,
74
74
75
- // Coverage and debug info are neither def nor use.
76
- PlaceContext :: NonUse ( NonUseContext :: Coverage ) |
75
+ // Debug info is neither def nor use.
77
76
PlaceContext :: NonUse ( NonUseContext :: VarDebugInfo ) => None ,
78
77
}
79
78
}
Original file line number Diff line number Diff line change 97
97
PlaceContext :: NonUse (
98
98
NonUseContext :: StorageLive
99
99
| NonUseContext :: AscribeUserTy
100
- | NonUseContext :: Coverage
101
100
| NonUseContext :: VarDebugInfo ,
102
101
)
103
102
| PlaceContext :: NonMutatingUse (
You can’t perform that action at this time.
0 commit comments