]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_infer/infer/at.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / librustc_infer / infer / at.rs
index 156b5a8b0b50bd593e4c581c3b6175b206d1f4ee..04f5b03c0e15cb26eae880e99d5ac5b5e7fe10d1 100644 (file)
@@ -179,7 +179,7 @@ pub fn trace_exp<T>(self, a_is_expected: bool, a: T, b: T) -> Trace<'a, 'tcx>
         T: ToTrace<'tcx>,
     {
         let trace = ToTrace::to_trace(self.cause, a_is_expected, a, b);
-        Trace { at: self, trace: trace, a_is_expected }
+        Trace { at: self, trace, a_is_expected }
     }
 }