Skip to content

Tags: jannes/rust-clippy

Tags

rust-1.55.0

Toggle rust-1.55.0's commit message
Auto merge of rust-lang#7505 - flip1995:beta, r=flip1995

[beta] Backport: Rename two lints to comply with our lint naming convention

self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain

changelog: none

r? `@ghost`

rust-1.54.0

Toggle rust-1.54.0's commit message
Auto merge of rust-lang#7313 - flip1995:rustup, r=flip1995

Rustup

Empty rustup. No changes to Clippy in the Rust repo for the last 2 weeks 😮

changelog: none

rust-1.53.0

Toggle rust-1.53.0's commit message
Auto merge of rust-lang#7204 - flip1995:beta_backport, r=flip1995

Backport of rust-lang#7170 to beta

r? `@ghost`

changelog: none (fixes stack overflow, but this was introduced in this release cycle)

Now actually opened towards the `beta` branch.

rust-1.52.1

Toggle rust-1.52.1's commit message
Auto merge of rust-lang#6826 - TaKO8Ki:refactor-methods-mod, r=phansch

Refactor: arrange lints in `methods` module

This PR arranges methods lints so that they can be accessed more easily.
Basically, I refactored them following the instruction described in rust-lang#6680.

changelog: Move lints in methods module into their own modules.

rust-1.52.0

Toggle rust-1.52.0's commit message
Auto merge of rust-lang#6826 - TaKO8Ki:refactor-methods-mod, r=phansch

Refactor: arrange lints in `methods` module

This PR arranges methods lints so that they can be accessed more easily.
Basically, I refactored them following the instruction described in rust-lang#6680.

changelog: Move lints in methods module into their own modules.

rust-1.51.0

Toggle rust-1.51.0's commit message
Auto merge of rust-lang#6654 - flip1995:no_lazy_static_regex, r=flip1995

No lazy static regex

r? `@llogiq`

rust-lang#6500

regex is unnecessary for this lint (rust-lang#6500 (comment))
lazy_static is unnecessary. The std lazy feature should be  used instead.

changelog: none

rust-1.50.0

Toggle rust-1.50.0's commit message
Auto merge of rust-lang#6537 - flip1995:beta, r=ebroto

[beta] Backport of rust-lang#6375 - field_reassign_with_default fix

With the pinned nightly we can test backports to our beta branch now 🎉

cc rust-lang#6515

changelog: beta 1.50: Backport of private fields fix in [`field_reassign_with_default`] lints

rust-1.49.0

Toggle rust-1.49.0's commit message
Auto merge of rust-lang#6296 - flip1995:rustup, r=flip1995

Rustup

r? `@ghost`

changelog: none

rust-1.47.0

Toggle rust-1.47.0's commit message

Verified

This commit was signed with the committer’s verified signature.
flip1995 Philipp Krones
Fix rustup fallout

rust-1.48.0

Toggle rust-1.48.0's commit message
Auto merge of rust-lang#6044 - rschoon:rc-buffer, r=yaahc

Add `rc_buffer` lint for checking Rc<String> and friends

Fixes rust-lang#2623

This is a bit different from the original PR attempting to implement this type of lint.   Rather than linting against converting into the unwanted types, this PR lints against declaring the unwanted type in a struct or function definition.

I'm reasonably happy with what I have here, although I used the fully qualified type names for the Path and OsString suggestions, and I'm not sure if I should have just used the short versions instead, even if they might not have been declared via use.

Also, I don't know if "buffer type" is the best way to put it or not.  Alternatively I could call it a "growable type" or "growable buffer type", but I was thinking of PathBuf when I started making the lint.

changelog: Add `rc_buffer` lint