Reimplement lowering of sym operands for asm! so that it also works with global_asm!
This commit is contained in:
@@ -260,6 +260,8 @@ enum ResolutionError<'a> {
|
||||
trait_item_span: Span,
|
||||
code: rustc_errors::DiagnosticId,
|
||||
},
|
||||
/// Inline asm `sym` operand must refer to a `fn` or `static`.
|
||||
InvalidAsmSym,
|
||||
}
|
||||
|
||||
enum VisResolutionError<'a> {
|
||||
|
||||
Reference in New Issue
Block a user