@@ -50,25 +50,6 @@ impl<'a, 'tcx> Analysis<'tcx> for MaybeStorageLive<'a> {
50
50
_ => ( ) ,
51
51
}
52
52
}
53
-
54
- fn apply_terminator_effect < ' mir > (
55
- & mut self ,
56
- _trans : & mut Self :: Domain ,
57
- terminator : & ' mir Terminator < ' tcx > ,
58
- _: Location ,
59
- ) -> TerminatorEdges < ' mir , ' tcx > {
60
- // Terminators have no effect
61
- terminator. edges ( )
62
- }
63
-
64
- fn apply_call_return_effect (
65
- & mut self ,
66
- _trans : & mut Self :: Domain ,
67
- _block : BasicBlock ,
68
- _return_places : CallReturnPlaces < ' _ , ' tcx > ,
69
- ) {
70
- // Nothing to do when a call returns successfully
71
- }
72
53
}
73
54
74
55
pub struct MaybeStorageDead < ' a > {
@@ -113,25 +94,6 @@ impl<'a, 'tcx> Analysis<'tcx> for MaybeStorageDead<'a> {
113
94
_ => ( ) ,
114
95
}
115
96
}
116
-
117
- fn apply_terminator_effect < ' mir > (
118
- & mut self ,
119
- _: & mut Self :: Domain ,
120
- terminator : & ' mir Terminator < ' tcx > ,
121
- _: Location ,
122
- ) -> TerminatorEdges < ' mir , ' tcx > {
123
- // Terminators have no effect
124
- terminator. edges ( )
125
- }
126
-
127
- fn apply_call_return_effect (
128
- & mut self ,
129
- _trans : & mut Self :: Domain ,
130
- _block : BasicBlock ,
131
- _return_places : CallReturnPlaces < ' _ , ' tcx > ,
132
- ) {
133
- // Nothing to do when a call returns successfully
134
- }
135
97
}
136
98
137
99
type BorrowedLocalsResults < ' mir , ' tcx > = ResultsCursor < ' mir , ' tcx , MaybeBorrowedLocals > ;
0 commit comments