Stabilize asm_sym
This commit is contained in:
parent
6b3ede3f7b
commit
430bd6200d
39 changed files with 61 additions and 114 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue