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

Clippy subtree update #125202

Merged
merged 96 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f0f3927
store the span of the nested part of the use tree in the ast
pietroalbini Apr 1, 2024
b1a4f87
put `hir::AnonConst` on the hir arena
oli-obk Apr 26, 2024
1c9bf96
Fix website dash replacement #12718
roddyrap Apr 26, 2024
fa8f4b8
Lint direct priority conflicts in [lints.workspace]
Alexendoo Apr 28, 2024
c187bff
Fix `FormatArgs` storage when `-Zthreads` > 1
Alexendoo Mar 26, 2024
c313ef5
Don't lint assigning_clones on nested late init locals
Alexendoo May 1, 2024
b10be16
Handle rustc_on_unimplemented in duplicated_attributes
Noratrieb May 1, 2024
63cb56e
assigning_clones: add empty line to doc
cakebaker May 2, 2024
80c6f8f
Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-s…
flip1995 May 2, 2024
a032189
Fix significant drop detection
lrh2000 Apr 26, 2024
8d8c0bf
useless_attribute: allow clippy::disallowed_types
9999years May 2, 2024
17d2ab8
useless_attribute: allow unused_braces
9999years May 2, 2024
e9761bd
useless_attribute: allow dead_code
9999years May 2, 2024
60267b2
Auto merge of #12750 - cakebaker:patch-1, r=Alexendoo
bors May 2, 2024
96e69d9
useless_attribute: allow hidden_glob_reexports
9999years May 2, 2024
db0cbba
useless_attribute: allow ambiguous_glob_exports
9999years May 2, 2024
68a6cbf
Update clippy tests for stable exclusive_range
RossSmyth Apr 28, 2024
993d8ae
Auto merge of #12567 - Alexendoo:format-args-storage, r=flip1995
bors May 3, 2024
a0d562a
Type safe CLI implementation for clippy-dev
flip1995 May 2, 2024
537ab6c
Bump clap version -> 4.4
flip1995 May 2, 2024
3cdc951
Auto merge of #124401 - oli-obk:some_hir_cleanups, r=cjgillot
bors May 4, 2024
2800251
Auto merge of #12742 - Alexendoo:assigning-clones-nested-late-init, r…
bors May 4, 2024
10913d2
Rollup merge of #124749 - RossSmyth:stable_range, r=davidtwco
GuillaumeGomez May 5, 2024
79a14de
less aggressive needless_borrows_for_generic_args
pacak Apr 23, 2024
a78a15c
Avoid unnecessary arguments
lrh2000 Apr 26, 2024
509ca90
Ignore significant drops of place expressions
lrh2000 Apr 29, 2024
c9ea0ae
Lint while loops with float comparison
May 5, 2024
3ef3a13
Auto merge of #12747 - flip1995:clippy-dev-cli-derive, r=Alexendoo
bors May 6, 2024
566bfff
useless_attribute: Update docs for allowed attributes
9999years May 2, 2024
befb659
Auto merge of #12755 - 9999years:useless-attribute, r=xFrednet,Guilla…
bors May 6, 2024
f3dd31e
Add lint for markdown lazy paragraph continuations
notriddle May 6, 2024
afedaf6
Update doc comments to avoid lazy continuations
notriddle May 6, 2024
28d5115
add new lint that disallow renaming parameters in trait functions
J-ZhengLi Sep 20, 2023
40ec760
fix doc test failure;
J-ZhengLi Mar 28, 2024
a8c35cb
Check inner caller for clone and judge whether they are mutable
cocodery May 7, 2024
362ef42
fix: merge multiple suggestions into a single multi-span suggestion i…
roife May 8, 2024
dc8a455
Simplify `use crate::rustc_foo::bar` occurrences.
nnethercote May 8, 2024
076f2e5
assigning_clones: move to pedantic so it is allow by default
de-vri-es May 8, 2024
30b3b73
Auto merge of #12777 - roife:merge-fixes-needless-late-init, r=Alexendoo
bors May 8, 2024
cd00f5b
Ignore `_to_string` lints in code `from_expansion`
future-highway May 8, 2024
7ad336f
Simplify `clippy` lint.
reitermarkus Apr 23, 2024
d326298
Use generic `NonZero`.
reitermarkus Apr 21, 2024
eef0828
Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=Nilstrieb
matthiaskrgr May 8, 2024
67a886b
Rollup merge of #124587 - reitermarkus:use-generic-nonzero, r=dtolnay
matthiaskrgr May 8, 2024
18fe295
Rollup merge of #124876 - nnethercote:rm-use-crate-rustc_foo, r=compi…
matthiaskrgr May 8, 2024
99a42ba
fix wrong suggestions of assigning_clones when the assignment is a ma…
shanretoo May 9, 2024
9abaf91
Auto merge of #12719 - roddyrap:fix-website-dash-replace-12718, r=xFr…
bors May 9, 2024
5a28d8f
Auto merge of #12650 - cocodery:issue/12098, r=xFrednet
bors May 9, 2024
9b4ad01
always use `GenericArgsRef`
lcnr May 9, 2024
baf2a23
Auto merge of #12783 - shanretoo:fix-assigning-clones, r=blyxyas
bors May 9, 2024
68dbc84
Auto merge of #12780 - future-highway:str-to-string-expansions, r=Man…
bors May 9, 2024
dbeae8d
Use fewer origins when creating type variables.
nnethercote May 9, 2024
9523b3f
Rename Generics::params to Generics::own_params
compiler-errors May 10, 2024
51145a2
Make builtin_deref just return a Ty
compiler-errors May 10, 2024
b8997e3
Rollup merge of #124955 - nnethercote:next_ty_var, r=lcnr
matthiaskrgr May 10, 2024
ff931a7
Auto merge of #124961 - matthiaskrgr:rollup-1jj65p6, r=matthiaskrgr
bors May 10, 2024
44c29bd
Rollup merge of #124957 - compiler-errors:builtin-deref, r=michaelwoe…
matthiaskrgr May 10, 2024
133549c
doc_lazy_continuation: change applicability to MaybeIncorrect
notriddle May 10, 2024
2baeb9b
Lift `TraitRef` into `rustc_type_ir`
compiler-errors May 10, 2024
904c99c
make [`from_str_radix_10`] skip constant context
J-ZhengLi May 11, 2024
0e5bded
Auto merge of #12770 - notriddle:notriddle/doc-lazy-continuation, r=l…
bors May 11, 2024
cb3fcbb
Improve clippy_lints/src/loops/mod.rs doc
yusufraji May 11, 2024
412b691
Auto merge of #12620 - Nilstrieb:dupattr, r=xFrednet
bors May 12, 2024
2b34abc
Auto merge of #12730 - Alexendoo:lint-groups-workspace-priority, r=xF…
bors May 12, 2024
9b446c7
Auto merge of #12787 - J-ZhengLi:issue127311, r=blyxyas
bors May 12, 2024
46659ac
add configuration to allow skipping on some certain traits & collect …
J-ZhengLi May 12, 2024
7cfb9a0
Auto merge of #11540 - J-ZhengLi:issue11443, r=xFrednet
bors May 12, 2024
9747c80
new lint: `macro_metavars_in_unsafe`
y21 Jan 6, 2024
dfc9c91
Inline MemCategorization into ExprUseVisitor
compiler-errors May 8, 2024
db193c1
Make LateCtxt be a type info delegate for EUV for clippy
compiler-errors May 8, 2024
a4a1a73
Auto merge of #12107 - y21:expr_metavars_in_unsafe, r=xFrednet
bors May 12, 2024
e65cefc
Propagate errors rather than using return_if_err
compiler-errors May 9, 2024
12ec009
Fix #12760
c410-f3r May 13, 2024
d6991ab
Auto merge of #12764 - lrh2000:ignore-place, r=blyxyas
bors May 13, 2024
760fbdf
split out AliasTy -> AliasTerm
compiler-errors May 13, 2024
2701a41
Apply nits
compiler-errors May 13, 2024
dc5b99b
improve [`match_same_arms`] messages, enable rustfix test
J-ZhengLi May 13, 2024
a863780
Auto merge of #12794 - J-ZhengLi:issue9251, r=blyxyas
bors May 14, 2024
9d790d6
Don't lint path statements in no_effect
Alexendoo May 14, 2024
c58b6e6
Auto merge of #12798 - Alexendoo:no-effect-path-statements, r=y21
bors May 14, 2024
1b7fc5f
add some msrv checks in `is_min_const_fn`
J-ZhengLi May 15, 2024
a7f3265
Auto merge of #12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21
bors May 15, 2024
a9b5c8c
Auto merge of #12790 - c410-f3r:blah, r=dswij
bors May 15, 2024
e669d97
Auto merge of #12706 - pacak:less-aggressive-needless-borrows, r=dswij
bors May 15, 2024
caad063
Auto merge of #12713 - J-ZhengLi:issue8864, r=y21
bors May 15, 2024
c342a61
Add configuration option for ignoring `panic!()` in tests
wutchzone May 15, 2024
821dc87
Manually set library paths in .github/driver.sh
Alexendoo May 16, 2024
6c8ff3f
Auto merge of #12812 - Alexendoo:driver-integration, r=flip1995
bors May 16, 2024
5459429
Auto merge of #12803 - wutchzone:panic-in-tests, r=y21
bors May 16, 2024
c200dad
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 May 16, 2024
9f6280b
Bump nightly version -> 2024-05-16
flip1995 May 16, 2024
680256f
Auto merge of #12813 - flip1995:rustup, r=flip1995
bors May 16, 2024
b5cf8b8
doc_lazy_continuation: do not warn on End events
notriddle May 18, 2024
0b1bf37
Auto merge of #12818 - notriddle:master, r=y21
bors May 18, 2024
2efebd2
Auto merge of #12765 - yusufraji:while-float, r=llogiq
bors May 21, 2024
bb1481a
Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-s…
flip1995 May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions src/tools/clippy/.github/driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

set -ex

sysroot="$(rustc --print sysroot)"
case $OS in
Linux) export LD_LIBRARY_PATH="$sysroot/lib" ;;
macOS) export DYLD_FALLBACK_LIBRARY_PATH="$sysroot/lib" ;;
Windows) export PATH="$(cygpath "$sysroot")/bin:$PATH" ;;
*) exit 1
esac

# Check sysroot handling
sysroot=$(./target/debug/clippy-driver --print sysroot)
test "$sysroot" = "$(rustc --print sysroot)"

if [[ ${OS} == "Windows" ]]; then
desired_sysroot=C:/tmp
else
desired_sysroot=/tmp
fi
test "$(./target/debug/clippy-driver --print sysroot)" = "$sysroot"

desired_sysroot="target/sysroot"
# Set --sysroot in command line
sysroot=$(./target/debug/clippy-driver --sysroot $desired_sysroot --print sysroot)
test "$sysroot" = $desired_sysroot
Expand Down
6 changes: 3 additions & 3 deletions src/tools/clippy/.github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ jobs:
working-directory: clippy_dev

- name: Test clippy-driver
run: |
TOOLCHAIN=$(rustup show active-toolchain | cut -f1 -d' ')
rustup run $TOOLCHAIN bash .github/driver.sh
run: .github/driver.sh
env:
OS: ${{ runner.os }}
4 changes: 1 addition & 3 deletions src/tools/clippy/.github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ jobs:
working-directory: clippy_dev

- name: Test clippy-driver
run: |
TOOLCHAIN=$(rustup show active-toolchain | cut -f1 -d' ')
rustup run $TOOLCHAIN bash .github/driver.sh
run: .github/driver.sh
env:
OS: ${{ runner.os }}

Expand Down
7 changes: 7 additions & 0 deletions src/tools/clippy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5249,6 +5249,7 @@ Released 2018-09-13
[`disallowed_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_type
[`disallowed_types`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_types
[`diverging_sub_expression`]: https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
[`doc_lazy_continuation`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
[`doc_link_with_quotes`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_link_with_quotes
[`doc_markdown`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
[`double_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons
Expand Down Expand Up @@ -5447,6 +5448,7 @@ Released 2018-09-13
[`little_endian_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#little_endian_bytes
[`logic_bug`]: https://rust-lang.github.io/rust-clippy/master/index.html#logic_bug
[`lossy_float_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#lossy_float_literal
[`macro_metavars_in_unsafe`]: https://rust-lang.github.io/rust-clippy/master/index.html#macro_metavars_in_unsafe
[`macro_use_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#macro_use_imports
[`main_recursion`]: https://rust-lang.github.io/rust-clippy/master/index.html#main_recursion
[`manual_assert`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert
Expand Down Expand Up @@ -5702,6 +5704,7 @@ Released 2018-09-13
[`ref_option_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_option_ref
[`ref_patterns`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_patterns
[`regex_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro
[`renamed_function_params`]: https://rust-lang.github.io/rust-clippy/master/index.html#renamed_function_params
[`repeat_once`]: https://rust-lang.github.io/rust-clippy/master/index.html#repeat_once
[`repeat_vec_with_capacity`]: https://rust-lang.github.io/rust-clippy/master/index.html#repeat_vec_with_capacity
[`replace_consts`]: https://rust-lang.github.io/rust-clippy/master/index.html#replace_consts
Expand Down Expand Up @@ -5908,6 +5911,7 @@ Released 2018-09-13
[`verbose_file_reads`]: https://rust-lang.github.io/rust-clippy/master/index.html#verbose_file_reads
[`vtable_address_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#vtable_address_comparisons
[`waker_clone_wake`]: https://rust-lang.github.io/rust-clippy/master/index.html#waker_clone_wake
[`while_float`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_float
[`while_immutable_condition`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_immutable_condition
[`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
[`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
Expand Down Expand Up @@ -5939,8 +5943,10 @@ Released 2018-09-13
[`allow-expect-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-expect-in-tests
[`allow-mixed-uninlined-format-args`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-mixed-uninlined-format-args
[`allow-one-hash-in-raw-strings`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-one-hash-in-raw-strings
[`allow-panic-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-panic-in-tests
[`allow-print-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-print-in-tests
[`allow-private-module-inception`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-private-module-inception
[`allow-renamed-params-for`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-renamed-params-for
[`allow-unwrap-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-unwrap-in-tests
[`allow-useless-vec-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-useless-vec-in-tests
[`allowed-dotfiles`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-dotfiles
Expand Down Expand Up @@ -6002,4 +6008,5 @@ Released 2018-09-13
[`vec-box-size-threshold`]: https://doc.rust-lang.org/clippy/lint_configuration.html#vec-box-size-threshold
[`verbose-bit-mask-threshold`]: https://doc.rust-lang.org/clippy/lint_configuration.html#verbose-bit-mask-threshold
[`warn-on-all-wildcard-imports`]: https://doc.rust-lang.org/clippy/lint_configuration.html#warn-on-all-wildcard-imports
[`warn-unsafe-macro-metavars-in-private-macros`]: https://doc.rust-lang.org/clippy/lint_configuration.html#warn-unsafe-macro-metavars-in-private-macros
<!-- end autogenerated links to configuration documentation -->
42 changes: 42 additions & 0 deletions src/tools/clippy/book/src/lint_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ Whether to allow `r#""#` when `r""` can be used
* [`unnecessary_raw_string_hashes`](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_raw_string_hashes)


## `allow-panic-in-tests`
Whether `panic` should be allowed in test functions or `#[cfg(test)]`

**Default Value:** `false`

---
**Affected lints:**
* [`panic`](https://rust-lang.github.io/rust-clippy/master/index.html#panic)


## `allow-print-in-tests`
Whether print macros (ex. `println!`) should be allowed in test functions or `#[cfg(test)]`

Expand All @@ -122,6 +132,28 @@ Whether to allow module inception if it's not public.
* [`module_inception`](https://rust-lang.github.io/rust-clippy/master/index.html#module_inception)


## `allow-renamed-params-for`
List of trait paths to ignore when checking renamed function parameters.

#### Example

```toml
allow-renamed-params-for = [ "std::convert::From" ]
```

#### Noteworthy

- By default, the following traits are ignored: `From`, `TryFrom`, `FromStr`
- `".."` can be used as part of the list to indicate that the configured values should be appended to the
default configuration of Clippy. By default, any configuration will replace the default value.

**Default Value:** `["core::convert::From", "core::convert::TryFrom", "core::str::FromStr"]`

---
**Affected lints:**
* [`renamed_function_params`](https://rust-lang.github.io/rust-clippy/master/index.html#renamed_function_params)


## `allow-unwrap-in-tests`
Whether `unwrap` should be allowed in test functions or `#[cfg(test)]`

Expand Down Expand Up @@ -900,3 +932,13 @@ Whether to allow certain wildcard imports (prelude, super in tests).
* [`wildcard_imports`](https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports)


## `warn-unsafe-macro-metavars-in-private-macros`
Whether to also emit warnings for unsafe blocks with metavariable expansions in **private** macros.

**Default Value:** `false`

---
**Affected lints:**
* [`macro_metavars_in_unsafe`](https://rust-lang.github.io/rust-clippy/master/index.html#macro_metavars_in_unsafe)


31 changes: 31 additions & 0 deletions src/tools/clippy/clippy_config/src/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const DEFAULT_DOC_VALID_IDENTS: &[&str] = &[
const DEFAULT_DISALLOWED_NAMES: &[&str] = &["foo", "baz", "quux"];
const DEFAULT_ALLOWED_IDENTS_BELOW_MIN_CHARS: &[&str] = &["i", "j", "x", "y", "z", "w", "n"];
const DEFAULT_ALLOWED_PREFIXES: &[&str] = &["to", "as", "into", "from", "try_into", "try_from"];
const DEFAULT_ALLOWED_TRAITS_WITH_RENAMED_PARAMS: &[&str] =
&["core::convert::From", "core::convert::TryFrom", "core::str::FromStr"];

/// Conf with parse errors
#[derive(Default)]
Expand Down Expand Up @@ -455,6 +457,10 @@ define_Conf! {
///
/// Whether `unwrap` should be allowed in test functions or `#[cfg(test)]`
(allow_unwrap_in_tests: bool = false),
/// Lint: PANIC.
///
/// Whether `panic` should be allowed in test functions or `#[cfg(test)]`
(allow_panic_in_tests: bool = false),
/// Lint: DBG_MACRO.
///
/// Whether `dbg!` should be allowed in test functions or `#[cfg(test)]`
Expand Down Expand Up @@ -613,6 +619,27 @@ define_Conf! {
/// - Use `".."` as part of the list to indicate that the configured values should be appended to the
/// default configuration of Clippy. By default, any configuration will replace the default value
(allowed_prefixes: Vec<String> = DEFAULT_ALLOWED_PREFIXES.iter().map(ToString::to_string).collect()),
/// Lint: RENAMED_FUNCTION_PARAMS.
///
/// List of trait paths to ignore when checking renamed function parameters.
///
/// #### Example
///
/// ```toml
/// allow-renamed-params-for = [ "std::convert::From" ]
/// ```
///
/// #### Noteworthy
///
/// - By default, the following traits are ignored: `From`, `TryFrom`, `FromStr`
/// - `".."` can be used as part of the list to indicate that the configured values should be appended to the
/// default configuration of Clippy. By default, any configuration will replace the default value.
(allow_renamed_params_for: Vec<String> =
DEFAULT_ALLOWED_TRAITS_WITH_RENAMED_PARAMS.iter().map(ToString::to_string).collect()),
/// Lint: MACRO_METAVARS_IN_UNSAFE.
///
/// Whether to also emit warnings for unsafe blocks with metavariable expansions in **private** macros.
(warn_unsafe_macro_metavars_in_private_macros: bool = false),
}

/// Search for the configuration file.
Expand Down Expand Up @@ -674,6 +701,10 @@ fn deserialize(file: &SourceFile) -> TryConf {
extend_vec_if_indicator_present(&mut conf.conf.doc_valid_idents, DEFAULT_DOC_VALID_IDENTS);
extend_vec_if_indicator_present(&mut conf.conf.disallowed_names, DEFAULT_DISALLOWED_NAMES);
extend_vec_if_indicator_present(&mut conf.conf.allowed_prefixes, DEFAULT_ALLOWED_PREFIXES);
extend_vec_if_indicator_present(
&mut conf.conf.allow_renamed_params_for,
DEFAULT_ALLOWED_TRAITS_WITH_RENAMED_PARAMS,
);
// TODO: THIS SHOULD BE TESTED, this comment will be gone soon
if conf.conf.allowed_idents_below_min_chars.contains("..") {
conf.conf
Expand Down
3 changes: 2 additions & 1 deletion src/tools/clippy/clippy_config/src/msrvs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ msrv_aliases! {
1,63,0 { CLONE_INTO }
1,62,0 { BOOL_THEN_SOME, DEFAULT_ENUM_ATTRIBUTE }
1,59,0 { THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST }
1,58,0 { FORMAT_ARGS_CAPTURE, PATTERN_TRAIT_CHAR_ARRAY }
1,58,0 { FORMAT_ARGS_CAPTURE, PATTERN_TRAIT_CHAR_ARRAY, CONST_RAW_PTR_DEREF }
1,56,0 { CONST_FN_UNION }
1,55,0 { SEEK_REWIND }
1,54,0 { INTO_KEYS }
1,53,0 { OR_PATTERNS, MANUAL_BITS, BTREE_MAP_RETAIN, BTREE_SET_RETAIN, ARRAY_INTO_ITERATOR }
Expand Down
3 changes: 2 additions & 1 deletion src/tools/clippy/clippy_dev/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "clippy_dev"
description = "Clippy developer tooling"
version = "0.0.1"
edition = "2021"

[dependencies]
aho-corasick = "1.0"
clap = "4.1.4"
clap = { version = "4.4", features = ["derive"] }
indoc = "1.0"
itertools = "0.12"
opener = "0.6"
Expand Down
Loading
Loading