@@ -163,7 +163,7 @@ pub(crate) struct InfiniteLoopDetector<'a, 'mir, 'tcx: 'a + 'mir, M: Machine<'mi
163163}
164164
165165impl < ' 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 > ,
167167 ' tcx : ' a + ' mir ,
168168{
169169 fn default ( ) -> Self {
@@ -175,7 +175,7 @@ impl<'a, 'mir, 'tcx, M> Default for InfiniteLoopDetector<'a, 'mir, 'tcx, M>
175175}
176176
177177impl < ' a , ' mir , ' tcx , M > InfiniteLoopDetector < ' a , ' mir , ' tcx , M >
178- where M : Clone + Eq + Hash + Machine < ' mir , ' tcx > ,
178+ where M : Machine < ' mir , ' tcx > ,
179179 ' tcx : ' a + ' mir ,
180180{
181181 /// 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
302302 param_env : ty:: ParamEnv < ' tcx > ,
303303 machine : M ,
304304 memory_data : M :: MemoryData ,
305- ) -> Self
306- where M : Eq + Hash
307- {
305+ ) -> Self {
308306 EvalContext {
309307 machine,
310308 tcx,
@@ -612,9 +610,7 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M
612610 & mut self ,
613611 rvalue : & mir:: Rvalue < ' tcx > ,
614612 place : & mir:: Place < ' tcx > ,
615- ) -> EvalResult < ' tcx >
616- where M : Clone + Eq + Hash ,
617- {
613+ ) -> EvalResult < ' tcx > {
618614 let dest = self . eval_place ( place) ?;
619615 let dest_ty = self . place_ty ( place) ;
620616
0 commit comments