Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
| -rw-r--r-- | crates/ide/src/syntax_highlighting/tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index 83bdca295d..6ba6153178 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs @@ -63,6 +63,13 @@ macro_rules! noop { } } +/// textually shadow previous definition +macro_rules! noop { + ($expr:expr) => { + $expr + } +} + macro_rules! keyword_frag { ($type:ty) => ($type) } |