about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-21 03:36:30 +0000
committerbors <bors@rust-lang.org>2018-05-21 03:36:30 +0000
commitba1363ffe12ac1ac796a620aef2008e4ae6c0477 (patch)
tree9c68fc9d3d4127faf63e439187387a8d252f4385 /src/liballoc
parent1e508c420904e35098cb4f4e6f285f8920163a59 (diff)
parentb4714cdf6e9caa0fc312b93917fe721f9c549426 (diff)
downloadrust-ba1363ffe12ac1ac796a620aef2008e4ae6c0477.tar.gz
rust-ba1363ffe12ac1ac796a620aef2008e4ae6c0477.zip
Auto merge of #50924 - petrochenkov:spanover, r=alexcrichton
lexer: Fix span override for the first token in a string

Previously due to peculiarities of `StringReader` construction something like `"a b c d".parse::<TokenStream>()` gave you one non-overridden span for `a` and then three correctly overridden spans for `b`, `c` and `d`.
Now all the spans are overridden.
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions