Skip to content

Remove unused function - #76050

Merged
bors merged 2 commits into
rust-lang:masterfrom
matklad:pos
Aug 31, 2020
Merged

Remove unused function#76050
bors merged 2 commits into
rust-lang:masterfrom
matklad:pos

Conversation

@matklad

Copy link
Copy Markdown
Contributor

No description provided.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @nikomatsakis

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 29, 2020
@matklad

Copy link
Copy Markdown
ContributorAuthor

r? @petrochenkov

@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Aug 29, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 080fb8b8c63b4e61ba052138b0b7d75571aff317 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 29, 2020
@matklad

matklad commented Aug 29, 2020

Copy link
Copy Markdown
ContributorAuthor

bors r-

Used in tests, that's why it wasn't caught by x.py check

EDIT: I am moving those tests now.

@matklad

Copy link
Copy Markdown
ContributorAuthor

@bors r-

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 29, 2020
@matkladmatklad added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 29, 2020
@matklad

Copy link
Copy Markdown
ContributorAuthor

Moved the tests, ready for review

Comment threadsrc/librustc_lexer/src/tests.rs Outdated
@petrochenkov

Copy link
Copy Markdown
Contributor

r=me with #76050 (comment) addressed

@petrochenkovpetrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2020
@matklad

Copy link
Copy Markdown
ContributorAuthor

@bors r=petrochenkov

@bors

bors commented Aug 29, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 5da8bf9501b18d2c4db2f81fec106bfc93e9d9f3 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 29, 2020
StringReader is an intornal abstraction which at the moment changes a
lot, so these unit tests cause quite a bit of friction.
Moving them to rustc_lexer and more ingerated-testing style should
make them much less annoying, hopefully without decreasing their
usefulness much.
Note that coloncolon tests are removed (it's unclear what those are
testing).
\r\n tests are removed as well, as we normalize line endings even
before lexing.
@matklad

Copy link
Copy Markdown
ContributorAuthor

Rebased over the great compiler renaming

@bors r=petrochenkov

@bors

bors commented Aug 30, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 518cac9 has been approved by petrochenkov

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Aug 30, 2020
@matkladmatklad mentioned this pull request Aug 31, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 31, 2020
Rollup of 5 pull requests
Successful merges:
- rust-lang#75938 (Added some `min_const_generics` revisions into `const_generics` tests)
- rust-lang#76050 (Remove unused function)
- rust-lang#76075 (datastructures: replace `once_cell` crate with an impl from std)
- rust-lang#76115 (Restore public visibility on some parsing functions for rustfmt)
- rust-lang#76127 (rustbuild: Remove one LLD workaround)
Failed merges:
r? @ghost
@bors
bors merged commit 7d2460e into rust-lang:masterAug 31, 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.

6 participants

@matklad@rust-highfive@petrochenkov@bors@cuviper@nikomatsakis