Skip to content

Conversation

@petrochenkov
Copy link
Contributor

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.

@petrochenkov
Copy link
Contributor Author

r? @alexcrichton

@rust-highfive
Copy link
Contributor

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 20, 2018
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented May 20, 2018

📌 Commit b4714cd has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 20, 2018
@bors
Copy link
Collaborator

bors commented May 21, 2018

⌛ Testing commit b4714cd with merge ba1363f...

bors added a commit that referenced this pull request May 21, 2018
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.
@bors
Copy link
Collaborator

bors commented May 21, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing ba1363f to master...

@bors bors merged commit b4714cd into rust-lang:master May 21, 2018
@petrochenkov petrochenkov deleted the spanover branch June 5, 2019 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants