]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_infer/infer/glb.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / librustc_infer / infer / glb.rs
index 2634d9cac3e99a6bdbb27f775198aabe4b78d32d..8b26bcef5730459786740e0f52f2f9ebefbade33 100644 (file)
@@ -18,7 +18,7 @@ pub fn new(
         fields: &'combine mut CombineFields<'infcx, 'tcx>,
         a_is_expected: bool,
     ) -> Glb<'combine, 'infcx, 'tcx> {
-        Glb { fields: fields, a_is_expected: a_is_expected }
+        Glb { fields, a_is_expected }
     }
 }