mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Highlight all related tokens in macro inputs
This commit is contained in:
parent
c5059e0623
commit
512135920d
3 changed files with 99 additions and 27 deletions
|
@ -17,7 +17,7 @@ use syntax::{
|
|||
use crate::RootDatabase;
|
||||
|
||||
// FIXME: a more precise name would probably be `Symbol`?
|
||||
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
|
||||
#[derive(Debug, PartialEq, Eq, Copy, Clone, Hash)]
|
||||
pub enum Definition {
|
||||
Macro(MacroDef),
|
||||
Field(Field),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue