mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Invert token iteration order in macro mapping
This commit is contained in:
parent
ca3699bd50
commit
20ac30fb75
8 changed files with 33 additions and 25 deletions
|
@ -288,19 +288,6 @@ m!(ab$0c);
|
|||
expect![[r#"
|
||||
*abc*
|
||||
|
||||
```rust
|
||||
test::module
|
||||
```
|
||||
|
||||
```rust
|
||||
fn abc()
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Inner
|
||||
---
|
||||
|
||||
```rust
|
||||
test
|
||||
```
|
||||
|
@ -312,6 +299,19 @@ m!(ab$0c);
|
|||
---
|
||||
|
||||
Outer
|
||||
---
|
||||
|
||||
```rust
|
||||
test::module
|
||||
```
|
||||
|
||||
```rust
|
||||
fn abc()
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Inner
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue