X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_middle%2Fsrc%2Fmir%2Ftype_foldable.rs;h=901f3bf4f7d41b84603a6d89a04acfd670a59fee;hb=976348603485b216b0d5314eca674a2b24df4c73;hp=ad8b9d323eed584be331cc999292a64f044d9208;hpb=f9587b60b60600b73a42a8d89133378a44d84d49;p=rust.git diff --git a/compiler/rustc_middle/src/mir/type_foldable.rs b/compiler/rustc_middle/src/mir/type_foldable.rs index ad8b9d323ee..901f3bf4f7d 100644 --- a/compiler/rustc_middle/src/mir/type_foldable.rs +++ b/compiler/rustc_middle/src/mir/type_foldable.rs @@ -84,13 +84,16 @@ fn try_super_fold_with>( FalseEdge { real_target, imaginary_target } } FalseUnwind { real_target, unwind } => FalseUnwind { real_target, unwind }, - InlineAsm { template, operands, options, line_spans, destination } => InlineAsm { - template, - operands: operands.try_fold_with(folder)?, - options, - line_spans, - destination, - }, + InlineAsm { template, operands, options, line_spans, destination, cleanup } => { + InlineAsm { + template, + operands: operands.try_fold_with(folder)?, + options, + line_spans, + destination, + cleanup, + } + } }; Ok(Terminator { source_info: self.source_info, kind }) }