]> git.lizzy.rs Git - rust.git/commit
Auto merge of #81337 - petrochenkov:kvcollect, r=Aaron1011
authorbors <bors@rust-lang.org>
Sun, 24 Jan 2021 20:09:18 +0000 (20:09 +0000)
committerbors <bors@rust-lang.org>
Sun, 24 Jan 2021 20:09:18 +0000 (20:09 +0000)
commit1d0d76f8dd4f5f6ecbeab575b87edaf1c9f56bb8
tree8374e75dc7972f71192fe25804c4109b3ddcf0a1
parent9a9477fada5baf69d693e717d6df902e411a73d6
parentbd07165690481aaa4c99b9c3ab6e20fbebae8f54
Auto merge of #81337 - petrochenkov:kvcollect, r=Aaron1011

parser: Collect tokens for values in key-value attributes

Fixes #81208 which happens when we parse the attribute value for the second time with an overridden span to synthesize tokens.

It also may be faster to collect tokens instead of re-synthesizing them.