We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9350cb8 commit f54a458Copy full SHA for f54a458
compiler/rustc_codegen_ssa/src/mir/naked_asm.rs
@@ -36,7 +36,7 @@ pub fn codegen_naked_asm<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
36
let mut template_vec = Vec::new();
37
template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(begin.into()));
38
template_vec.extend(template.iter().cloned());
39
- template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(end));
+ template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(end.into()));
40
41
cx.codegen_global_asm(&template_vec, &operands, options, line_spans);
42
}
0 commit comments