]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_middle/src/ty/erase_regions.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / compiler / rustc_middle / src / ty / erase_regions.rs
index ffdac93bcd09abefb3d4754ea79a594784f4f9c2..9e4f90caab0b5957b2469fc6520d7771bd3b096d 100644 (file)
@@ -21,7 +21,7 @@ impl<'tcx> TyCtxt<'tcx> {
         T: TypeFoldable<'tcx>,
     {
         // If there's nothing to erase avoid performing the query at all
-        if !value.has_type_flags(TypeFlags::HAS_RE_LATE_BOUND | TypeFlags::HAS_FREE_REGIONS) {
+        if !value.has_type_flags(TypeFlags::HAS_LATE_BOUND | TypeFlags::HAS_FREE_REGIONS) {
             return value;
         }
         debug!("erase_regions({:?})", value);