y21
91f514cc83
fix fallout from previous commit
2024-04-01 15:04:45 +02:00
Alex Macleod
a24d12b7aa
Enable unused_qualifications lint
2024-03-22 15:58:29 +00:00
Guillaume Gomez
874f851ac5
Use std_or_core instead of doing check by hand every time
2024-01-15 20:53:00 +01:00
Guillaume Gomez
1bcaf29e0b
Correctly suggest std or core path depending if this is a no_std crate
2024-01-14 14:45:24 +01:00
Alex Macleod
7093444bfa
Use absolute path for declare_tool_lint in declare_clippy_lint
2023-11-25 17:45:27 +00:00
Philipp Krones
62a82b361c
Format let-chains across the code base
...
In the updated nightly version, it seems that rustfmt now supports formatting
let-chains. Since we're using them a lot, it's a lot of reformatting.
2023-11-02 17:24:30 +01:00
Alex Macleod
7347c1803f
Set existing doc-tests to no_run
2023-10-23 15:28:26 +00:00
Philipp Krones
5f031561ef
Merge remote-tracking branch 'upstream/master' into rustup
2023-10-21 13:41:46 +02:00
Jason Newcomb
9de3e6c928
Add more diagnostic items for clippy
2023-10-05 18:21:47 -04:00
Philipp Krones
d6d530fd0b
Merge commit ' d9c24d1b1e' into clippyup
2023-07-17 10:22:32 +02:00
Alex Macleod
2811effe34
Add imports_granularity = "Module" to rustfmt.toml
2023-07-13 12:44:57 +00:00
Philipp Krones
cf8a67d9ad
Merge commit ' 3c06e0b1ce' into clippyup
2023-03-10 10:53:50 +01:00
Jason Newcomb
efbcb99b73
Use snippet_with_context more
2023-03-03 00:55:53 -05:00
Philipp Krones
d75b25faab
Merge commit ' ac0e10aa68' into clippyup
2022-10-06 09:44:38 +02:00
xFrednet
e279f22a91
Changelog for Rust 1.64 🍎
2022-09-20 15:23:48 +02:00
Philipp Krones
09f5df5087
Merge commit ' 0cb0f76368' into clippyup
2022-06-30 10:50:09 +02:00
kyoto7250
2bb8c45026
feat(lint): add default_iter_empty
...
Update description in clippy_lints/src/default_iter_empty.rs
Co-authored-by: Fridtjof Stoldt <xFrednet@gmail.com>
Update clippy_lints/src/default_iter_empty.rs
Co-authored-by: Alex Macleod <alex@macleod.io>
Update clippy_lints/src/default_iter_empty.rs
Co-authored-by: Alex Macleod <alex@macleod.io>
renamed default_iter_empty to default_instead_of_iter_empty
Avoid duplicate messages
add tests for regression
rewrite 'Why is this bad?'
cargo dev fmt
delete default_iter_empty lint in renamed_lint.rs
rewrite a message in the suggestion
cargo dev update_lints --check
2022-06-17 21:34:36 +09:00