@@ -163,7 +163,7 @@ pub(crate) struct InfiniteLoopDetector<'a, 'mir, 'tcx: 'a + 'mir, M: Machine<'mi
163
163
}
164
164
165
165
impl < ' a , ' mir , ' tcx , M > Default for InfiniteLoopDetector < ' a , ' mir , ' tcx , M >
166
- where M : Eq + Hash + Machine < ' mir , ' tcx > ,
166
+ where M : Machine < ' mir , ' tcx > ,
167
167
' tcx : ' a + ' mir ,
168
168
{
169
169
fn default ( ) -> Self {
@@ -175,7 +175,7 @@ impl<'a, 'mir, 'tcx, M> Default for InfiniteLoopDetector<'a, 'mir, 'tcx, M>
175
175
}
176
176
177
177
impl < ' a , ' mir , ' tcx , M > InfiniteLoopDetector < ' a , ' mir , ' tcx , M >
178
- where M : Clone + Eq + Hash + Machine < ' mir , ' tcx > ,
178
+ where M : Machine < ' mir , ' tcx > ,
179
179
' tcx : ' a + ' mir ,
180
180
{
181
181
/// Returns `true` if the loop detector has not yet observed a snapshot.
@@ -302,9 +302,7 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M
302
302
param_env : ty:: ParamEnv < ' tcx > ,
303
303
machine : M ,
304
304
memory_data : M :: MemoryData ,
305
- ) -> Self
306
- where M : Eq + Hash
307
- {
305
+ ) -> Self {
308
306
EvalContext {
309
307
machine,
310
308
tcx,
@@ -612,9 +610,7 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M
612
610
& mut self ,
613
611
rvalue : & mir:: Rvalue < ' tcx > ,
614
612
place : & mir:: Place < ' tcx > ,
615
- ) -> EvalResult < ' tcx >
616
- where M : Clone + Eq + Hash ,
617
- {
613
+ ) -> EvalResult < ' tcx > {
618
614
let dest = self . eval_place ( place) ?;
619
615
let dest_ty = self . place_ty ( place) ;
620
616
0 commit comments