mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Implement offset_of in hir-def and hir-ty
This commit is contained in:
parent
9b8eb807a3
commit
15048304e3
17 changed files with 120 additions and 193 deletions
|
@ -419,9 +419,9 @@ fn asm_expand(
|
|||
|
||||
let pound = quote! {@PUNCT '#'};
|
||||
let expanded = quote! {
|
||||
builtin #pound asm {
|
||||
##literals
|
||||
}
|
||||
builtin #pound asm (
|
||||
{##literals}
|
||||
)
|
||||
};
|
||||
ExpandResult::ok(expanded)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue