We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 419f229 commit 9350cb8Copy full SHA for 9350cb8
compiler/rustc_codegen_ssa/src/mir/naked_asm.rs
@@ -34,7 +34,7 @@ pub fn codegen_naked_asm<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
34
let (begin, end) = crate::mir::naked_asm::prefix_and_suffix(cx.tcx(), instance, item_data);
35
36
let mut template_vec = Vec::new();
37
- template_vec.push(rustc_ast::ast::InlineAsmTemplatePiece::String(begin));
+ 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));
40
0 commit comments