Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove slice diagnostic item #84174

Merged
merged 1 commit into from
Apr 26, 2021
Merged

Remove slice diagnostic item #84174

merged 1 commit into from
Apr 26, 2021

Conversation

camsteffen
Copy link
Contributor

@camsteffen camsteffen commented Apr 13, 2021

...because it is unusally placed on an impl and is redundant with a lang item.

Depends on rust-lang/rust-clippy#7074 (next clippy sync). I expect clippy tests to fail in the meantime. Nope tests passed...

CC @flip1995

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(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 Apr 13, 2021
@jyn514
Copy link
Member

jyn514 commented Apr 14, 2021

I think clippy tests don't run for PRs, so this may still be needed until the submodule sync.

@flip1995
Copy link
Member

flip1995 commented Apr 14, 2021

Clippy tests only run on a PR, if something in the Clippy dir was changed. You'll have to check this locally: ./x.py test src/tools/clippy.

@Mark-Simulacrum
Copy link
Member

FWIW using the diagnostic item feels reasonable for diagnostic purposes (rather than using the lang item). But no big deal either way.

r=me once we clippy sync

@flip1995
Copy link
Member

Sync PR is up: #84427

@camsteffen
Copy link
Contributor Author

camsteffen commented Apr 26, 2021

Sync is merged. A local clippy test passed.

@bors r=Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Apr 26, 2021

📌 Commit b319031 has been approved by Mark-Simulacrum

@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 Apr 26, 2021
@bors
Copy link
Contributor

bors commented Apr 26, 2021

⌛ Testing commit b319031 with merge ae54ee6...

@bors
Copy link
Contributor

bors commented Apr 26, 2021

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing ae54ee6 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 26, 2021
@bors bors merged commit ae54ee6 into rust-lang:master Apr 26, 2021
@rustbot rustbot added this to the 1.53.0 milestone Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. 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.

7 participants