]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_transform/src/inline.rs
simplify more, ret_deref -> has_deref
[rust.git] / compiler / rustc_mir_transform / src / inline.rs
index dc5d5cee879f8327f1d795ffed8d6fd83084a8ad..1e46b0a0e8164d21f92aca83153d1ed6b87f7225 100644 (file)
@@ -246,7 +246,7 @@ fn check_mir_is_available(
             // not get any optimizations run on it. Any subsequent inlining may cause cycles, but we
             // do not need to catch this here, we can wait until the inliner decides to continue
             // inlining a second time.
-            InstanceDef::VtableShim(_)
+            InstanceDef::VTableShim(_)
             | InstanceDef::ReifyShim(_)
             | InstanceDef::FnPtrShim(..)
             | InstanceDef::ClosureOnceShim { .. }