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