File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_ast_lowering/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ use std::fmt::Write;
1111
1212impl < ' a , ' hir > LoweringContext < ' a , ' hir > {
1313 crate fn lower_inline_asm ( & mut self , sp : Span , asm : & InlineAsm ) -> & ' hir hir:: InlineAsm < ' hir > {
14- // Rustdoc needs to support asm! from foriegn architectures: don't try
15- // lowering the register contraints in this case.
14+ // Rustdoc needs to support asm! from foreign architectures: don't try
15+ // lowering the register constraints in this case.
1616 let asm_arch = if self . sess . opts . actually_rustdoc { None } else { self . sess . asm_arch } ;
1717 if asm_arch. is_none ( ) && !self . sess . opts . actually_rustdoc {
1818 struct_span_err ! ( self . sess, sp, E0472 , "inline assembly is unsupported on this target" )
You can’t perform that action at this time.
0 commit comments