Skip to content

Update Clippy - #76034

Merged
bors merged 175 commits into
rust-lang:masterfrom
flip1995:clippyup
Aug 29, 2020
Merged

Update Clippy#76034
bors merged 175 commits into
rust-lang:masterfrom
flip1995:clippyup

Conversation

@flip1995

Copy link
Copy Markdown
Member

Bi-weekly Clippy update, as per the new policy.

r? @Manishearth

Philippe Nadonand others added 30 commits August 8, 2020 07:53
Renamed remaining references to "undef" to "uninit" when referring to Miri.
Impacted directories are:
- src/librustc_codegen_llvm/consts.rs
- src/librustc_middle/mir/interpret/
- src/librustc_middle/ty/print/pretty.rs
- src/librustc_mir/
- src/tools/clippy/clippy_lints/src/consts.rs
Upon building Miri based on the new changes it was verified that no changes needed to be made with the Miri project.
Related issue rust-lang#71193
Miri: Renamed "undef" to "uninit"
Renamed remaining references to "undef" to "uninit" when referring to Miri.
Impacted directories are:
- `src/librustc_codegen_llvm/consts.rs`
- `src/librustc_middle/mir/interpret/`
- `src/librustc_middle/ty/print/pretty.rs`
- `src/librustc_mir/`
- `src/tools/clippy/clippy_lints/src/consts.rs`
Upon building Miri based on the new changes it was verified that no changes needed to be made with the Miri project.
Related issue rust-lang#71193
unnecessary-mut-passed: make lint message say if fn is a function or a method
changelog: refine "unnecessary-mut-passed" lint message
Update Clippy
Biweekly Clippy update (2 days late, since I wanted to wait for rust-lang#75098)
r? @Manishearth
Co-authored-by: Philipp Krones <hello@philkrones.com>
giraffateand others added 11 commits August 27, 2020 23:37
Don't emit a lint when `.to_string()` on anything that is not `self`
…ay, r=ebroto
Fix FP in `to_string_in_display`
Don't emit a lint when `.to_string()` on anything that is not `self`
Fixrust-lang#5967
changelog: Fix FP in `to_string_in_display` when calling `.to_string()` on anything that is not `self`
Co-authored-by: Eduardo Broto <ebroto@tutanota.com>
Co-authored-by: Eduardo Broto <ebroto@tutanota.com>
Co-authored-by: Eduardo Broto <ebroto@tutanota.com>
Fix FP in `new_ret_no_self`: trigger in trait def instead of impl block
Lint in trait def instead of impl block.
Fixes: rust-lang#5435
changelog: none
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 28, 2020
@Manishearth

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Aug 28, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 575e27d has been approved by Manishearth

@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 28, 2020
@Dylan-DPC-zz

Copy link
Copy Markdown

@bors p=never (changes lock files better to be run separately)

@Dylan-DPC-zz

Copy link
Copy Markdown

lol

@bors p=0 rollup=never

@bors

bors commented Aug 29, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 575e27d with merge fe8ab8a...

@bors

bors commented Aug 29, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions, checks-azure
Approved by: Manishearth
Pushing fe8ab8a to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Aug 29, 2020
@bors
bors merged commit fe8ab8a into rust-lang:masterAug 29, 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

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.

20 participants

@flip1995@Manishearth@bors@Dylan-DPC-zz@cuviper@rust-highfive@tnielens@Ryan1729@JohnTitor@matthiaskrgr@JarredAllen@ThibsG@giraffate@lcnr@ErichDonGubler@wiomoc@jrqc@ebroto@bugadani@HactarCE