mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Don't descend MacroCall TokenTree delimiters
This commit is contained in:
parent
590472607c
commit
3c40b15d62
3 changed files with 20 additions and 2 deletions
|
@ -122,6 +122,10 @@ def_fn! {
|
|||
}
|
||||
}
|
||||
|
||||
macro_rules! dont_color_me_braces {
|
||||
() => {0}
|
||||
}
|
||||
|
||||
macro_rules! noop {
|
||||
($expr:expr) => {
|
||||
$expr
|
||||
|
@ -145,6 +149,7 @@ macro without_args {
|
|||
// comment
|
||||
fn main() {
|
||||
println!("Hello, {}!", 92);
|
||||
dont_color_me_braces!();
|
||||
|
||||
let mut vec = Vec::new();
|
||||
if true {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue