aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/Cargo.toml
diff options
context:
space:
mode:
authorDavid Lattimore <[email protected]>2020-06-27 11:34:21 +0100
committerDavid Lattimore <[email protected]>2020-06-27 11:38:31 +0100
commit64a49589e74447da668bd5acab8375206a10253f (patch)
treed8520baa999ebc1a3dc72030d64799634a4a63c7 /crates/ra_parser/Cargo.toml
parentb081018363a210ffa0b95a4d3350a0a3e9b0cd83 (diff)
Fix handling of whitespace when applying SSR within macro expansions.
I originally did replacement by passing in the full file text. Then as some point I thought I could do without it. Turns out calling .text() on a node coming from a macro expansion isn't a great idea, especially when you then try and use ranges from the original source to cut that text. The test I added here actually panics without the rest of this change (sorry I didn't notice sooner).
Diffstat (limited to 'crates/ra_parser/Cargo.toml')
0 files changed, 0 insertions, 0 deletions