Skip to content

Make StringReader private - #76166

Merged
bors merged 2 commits into
rust-lang:masterfrom
matklad:privatereader
Sep 1, 2020
Merged

Make StringReader private#76166
bors merged 2 commits into
rust-lang:masterfrom
matklad:privatereader

Conversation

@matklad

@matkladmatklad commented Aug 31, 2020

Copy link
Copy Markdown
Contributor

r? @ghost

closes#75619

`parse_stream_from_source_str` is a more stable API to convert a
string into a bunch of tokens, and it also catches errors about
mismatched parenthesis.
After the recent refactorings, we can actually completely hide this
type. It should help with rust-lang#63689.
@matklad

Copy link
Copy Markdown
ContributorAuthor

This includes #76068 as well

r? @petrochenkov

@matkladmatklad mentioned this pull request Aug 31, 2020
@petrochenkovpetrochenkov added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 31, 2020
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Aug 31, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 30ce15f has been approved by petrochenkov

@borsbors 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 Aug 31, 2020
@tmandrytmandry mentioned this pull request Sep 1, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 1, 2020
Rollup of 12 pull requests
Successful merges:
- rust-lang#75945 (Use `env::func()`, not 'the function env::func' in docs for std::env)
- rust-lang#76002 (Fix `-Z instrument-coverage` on MSVC)
- rust-lang#76003 (Adds two source span utility functions used in source-based coverage)
- rust-lang#76059 (Clean up E0764)
- rust-lang#76103 (Clean up E0769)
- rust-lang#76139 (Make `cow_is_borrowed` methods const)
- rust-lang#76154 (Fix rustdoc strings indentation)
- rust-lang#76161 (Remove notrust in rustc_middle)
- rust-lang#76163 (README: Adjust Linux and macOS support platform and architecture)
- rust-lang#76166 (Make `StringReader` private)
- rust-lang#76172 (Revert rust-lang#75463)
- rust-lang#76178 (Update expect-test to 1.0)
Failed merges:
r? @ghost
@bors
bors merged commit 90e4bfa into rust-lang:masterSep 1, 2020
@cuvipercuviper added this to the 1.48.0 milestone Nov 17, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

Switch rustdoc from lexer::StringReader to rustc_lexer

4 participants

@matklad@petrochenkov@bors@cuviper