mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
internal: Record all macro definitions in ItemScope
This commit is contained in:
parent
cd42b20ce3
commit
db49ac8734
9 changed files with 57 additions and 27 deletions
|
@ -63,6 +63,13 @@ macro_rules! noop {
|
|||
}
|
||||
}
|
||||
|
||||
/// textually shadow previous definition
|
||||
macro_rules! noop {
|
||||
($expr:expr) => {
|
||||
$expr
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! keyword_frag {
|
||||
($type:ty) => ($type)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue