diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-06 15:50:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-06 15:50:06 +0100 |
commit | 13da28cc2bc1b59f7af817eca36927a71edb023c (patch) | |
tree | a8cb03b4e8afd7d499308bd9f4b387db90b353a3 /crates/hir_ty/src/op.rs | |
parent | d616a6a45697589a5fb4eeb4a30382322f8b8184 (diff) | |
parent | 1d5c60ff548c082a59eebda4bbaede99cec3cc4d (diff) |
Merge #9155
9155: internal: replace attribute with equivalent whitespace r=jonas-schievink a=jonas-schievink
This is needed to that the `TokenMap` we create contains offsets that match the source. Currently the offsets don't match because the attribute is removed, shifting all subsequent token offsets by the attribute's text length.
Currently this fix has no visible effect because we don't remap tokens in attribute macros.
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/op.rs')
0 files changed, 0 insertions, 0 deletions