Skip to content

Commit f54a458

Browse files
committed
fixup! inline const monomorphization/evaluation
1 parent 9350cb8 commit f54a458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/naked_asm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn codegen_naked_asm<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
3636
let mut template_vec = Vec::new();
3737
template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(begin.into()));
3838
template_vec.extend(template.iter().cloned());
39-
template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(end));
39+
template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(end.into()));
4040

4141
cx.codegen_global_asm(&template_vec, &operands, options, line_spans);
4242
}

0 commit comments

Comments
 (0)