mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Add Definition kind for asm register operand
This commit is contained in:
parent
164b15bc62
commit
a600e1df73
12 changed files with 59 additions and 35 deletions
|
@ -244,6 +244,8 @@ impl TryToNav for Definition {
|
|||
| Definition::ToolModule(_)
|
||||
| Definition::InlineAsmRegOrRegClass(_)
|
||||
| Definition::BuiltinAttr(_) => None,
|
||||
// FIXME
|
||||
Definition::InlineAsmRegOperand(_) => None,
|
||||
// FIXME: The focus range should be set to the helper declaration
|
||||
Definition::DeriveHelper(it) => it.derive().try_to_nav(db),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue