Skip to content

Use Symbol more in lint APIs - #60827

Merged
bors merged 1 commit into
rust-lang:masterfrom
oli-obk:late_symbol
May 27, 2019
Merged

Use Symbol more in lint APIs#60827
bors merged 1 commit into
rust-lang:masterfrom
oli-obk:late_symbol

Conversation

@oli-obk

Copy link
Copy Markdown
Contributor

r? @nnethercote

This will cause clippy breakage, but super trivial to fix since we can then remove the hacky match_def_path function that I added and go back to calling rustc's match_def_path method.

@jonas-schievinkjonas-schievink added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 14, 2019
@nnethercote

Copy link
Copy Markdown
Contributor

@bors r+

But we need to coordinate... I'm working on more Symbol changes, e.g. #60815. I'm doing some ad hoc profiling to work out which ones are likely to affect performance. If we have multiple people doing these conversions there's a good chance there will be overlap.

@bors

bors commented May 14, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 1107158 has been approved by nnethercote

@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 May 14, 2019
This was referenced May 15, 2019
@oli-obk

Copy link
Copy Markdown
ContributorAuthor

Yes, I tried not to touch anything else out of that reason. I did this just to remove hacks from clippy

Centril added a commit to Centril/rust that referenced this pull request May 15, 2019
Use `Symbol` more in lint APIs
r? @nnethercote
This will cause clippy breakage, but super trivial to fix since we can then remove the hacky `match_def_path` function that I added and go back to calling rustc's `match_def_path` method.
@CentrilCentril mentioned this pull request May 15, 2019
bors added a commit that referenced this pull request May 15, 2019
Rollup of 9 pull requests
Successful merges:
- #59825 (string: implement From<&String> for String)
- #59923 (Fix convert module's documentation links)
- #60691 (Include expression to wait for to the span of Await)
- #60763 (Move token tree related lexer state to a separate struct)
- #60769 (Update rustc book CLI docs.)
- #60811 (Bump measureme dependency to 0.3)
- #60816 (README.md: Mention MSVC 2017+, not 2013(!))
- #60827 (Use `Symbol` more in lint APIs)
- #60851 (Move `box` from the stable keyword to unstable keywords list)
Failed merges:
r? @ghost
@Centril

Copy link
Copy Markdown
Contributor

Toolstate breakage in #60859 (comment), @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 May 15, 2019
@bors

bors commented May 20, 2019

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #60969) made this pull request unmergeable. Please resolve the merge conflicts.

@oli-obk

Copy link
Copy Markdown
ContributorAuthor

@bors r=nnethercote

@bors

bors commented May 27, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 254b9240b3608e3509a125af0f0b0cd0370109d1 has been approved by nnethercote

@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 May 27, 2019
@bors

bors commented May 27, 2019

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #61035) made this pull request unmergeable. Please resolve the merge conflicts.

@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 May 27, 2019
@oli-obk

Copy link
Copy Markdown
ContributorAuthor

@bors r=nnethercote

@bors

bors commented May 27, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit d6ca34c has been approved by nnethercote

@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 May 27, 2019
Centril added a commit to Centril/rust that referenced this pull request May 27, 2019
Use `Symbol` more in lint APIs
r? @nnethercote
This will cause clippy breakage, but super trivial to fix since we can then remove the hacky `match_def_path` function that I added and go back to calling rustc's `match_def_path` method.
@CentrilCentril mentioned this pull request May 27, 2019
@bors

bors commented May 27, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit d6ca34c with merge fa40a11...

bors added a commit that referenced this pull request May 27, 2019
Use `Symbol` more in lint APIs
r? @nnethercote
This will cause clippy breakage, but super trivial to fix since we can then remove the hacky `match_def_path` function that I added and go back to calling rustc's `match_def_path` method.
@borsbors mentioned this pull request May 27, 2019
@bors

bors commented May 27, 2019

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-travis, status-appveyor
Approved by: nnethercote
Pushing fa40a11 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label May 27, 2019
@bors
bors merged commit d6ca34c into rust-lang:masterMay 27, 2019
@rust-highfive

Copy link
Copy Markdown
Contributor

📣 Toolstate changed by #60827!

Tested on commit fa40a11.
Direct link to PR: #60827

💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth@llogiq@mcarton@oli-obk@phansch, @rust-lang/infra).
💔 clippy-driver on linux: test-pass → build-fail (cc @Manishearth@llogiq@mcarton@oli-obk@phansch, @rust-lang/infra).
💔 rls on windows: test-pass → build-fail (cc @Xanewok, @rust-lang/infra).
💔 rls on linux: test-pass → build-fail (cc @Xanewok, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request May 27, 2019
Tested on commit rust-lang/rust@fa40a11.
Direct link to PR: <rust-lang/rust#60827>
💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth@llogiq@mcarton@oli-obk@phansch, @rust-lang/infra).
💔 clippy-driver on linux: test-pass → build-fail (cc @Manishearth@llogiq@mcarton@oli-obk@phansch, @rust-lang/infra).
💔 rls on windows: test-pass → build-fail (cc @Xanewok, @rust-lang/infra).
💔 rls on linux: test-pass → build-fail (cc @Xanewok, @rust-lang/infra).
@oli-obk
oli-obk deleted the late_symbol branch March 16, 2021 12:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.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

@oli-obk@nnethercote@bors@Centril@rust-highfive@jonas-schievink