1
Fork 0

Stabilize asm_sym

This commit is contained in:
Amanieu d'Antras 2022-10-17 22:38:37 +01:00
parent 6b3ede3f7b
commit 430bd6200d
39 changed files with 61 additions and 114 deletions

View file

@ -192,16 +192,6 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
}
}
InlineAsmOperand::Sym { ref sym } => {
if !self.tcx.features().asm_sym {
feature_err(
&sess.parse_sess,
sym::asm_sym,
*op_sp,
"sym operands for inline assembly are unstable",
)
.emit();
}
let static_def_id = self
.resolver
.get_partial_res(sym.id)