Home
last modified time | relevance | path

Searched full:clippy (Results 1 – 25 of 268) sorted by relevance

1234567891011

/third_party/rust/crates/serde/serde_derive_internals/
Dlib.rs2 // Ignored clippy lints
4 clippy::cognitive_complexity,
5 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
6 clippy::collapsible_match,
7 clippy::derive_partial_eq_without_eq,
8 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797
9 clippy::manual_map,
10 clippy::missing_panics_doc,
11 clippy::redundant_field_names,
12 clippy::result_unit_err,
[all …]
/third_party/rust/crates/serde/serde_derive/src/
Dlib.rs17 // Ignored clippy lints
19 // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054
20 clippy::branches_sharing_code,
21 clippy::cognitive_complexity,
22 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
23 clippy::collapsible_match,
24 clippy::derive_partial_eq_without_eq,
25 clippy::enum_variant_names,
26 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797
27 clippy::manual_map,
[all …]
/third_party/rust/crates/cxx/gen/lib/src/
Dlib.rs14 clippy::cast_sign_loss,
15 clippy::default_trait_access,
16 clippy::derive_partial_eq_without_eq,
17 clippy::enum_glob_use,
18 clippy::if_same_then_else,
19 clippy::inherent_to_string,
20 clippy::items_after_statements,
21 clippy::match_bool,
22 clippy::match_on_vec_items,
23 clippy::match_same_arms,
[all …]
/third_party/rust/crates/cxx/macro/src/
Dlib.rs2 clippy::cast_sign_loss,
3 clippy::default_trait_access,
4 clippy::derive_partial_eq_without_eq,
5 clippy::doc_markdown,
6 clippy::enum_glob_use,
7 clippy::if_same_then_else,
8 clippy::inherent_to_string,
9 clippy::items_after_statements,
10 clippy::large_enum_variant,
11 clippy::match_bool,
[all …]
/third_party/rust/crates/cxx/gen/cmd/src/
Dmain.rs2 clippy::cast_sign_loss,
3 clippy::cognitive_complexity,
4 clippy::default_trait_access,
5 clippy::derive_partial_eq_without_eq,
6 clippy::enum_glob_use,
7 clippy::if_same_then_else,
8 clippy::inherent_to_string,
9 clippy::items_after_statements,
10 clippy::large_enum_variant,
11 clippy::match_bool,
[all …]
/third_party/rust/crates/clap/clap_derive/src/derives/
Dinto_app.rs34 clippy::style, in gen_for_struct()
35 clippy::complexity, in gen_for_struct()
36 clippy::pedantic, in gen_for_struct()
37 clippy::restriction, in gen_for_struct()
38 clippy::perf, in gen_for_struct()
39 clippy::deprecated, in gen_for_struct()
40 clippy::nursery, in gen_for_struct()
41 clippy::cargo, in gen_for_struct()
42 clippy::suspicious_else_formatting, in gen_for_struct()
43 clippy::almost_swapped, in gen_for_struct()
[all …]
Dvalue_enum.rs56 clippy::style, in gen_for_enum()
57 clippy::complexity, in gen_for_enum()
58 clippy::pedantic, in gen_for_enum()
59 clippy::restriction, in gen_for_enum()
60 clippy::perf, in gen_for_enum()
61 clippy::deprecated, in gen_for_enum()
62 clippy::nursery, in gen_for_enum()
63 clippy::cargo, in gen_for_enum()
64 clippy::suspicious_else_formatting, in gen_for_enum()
65 clippy::almost_swapped, in gen_for_enum()
Dargs.rs99 clippy::style, in gen_for_struct()
100 clippy::complexity, in gen_for_struct()
101 clippy::pedantic, in gen_for_struct()
102 clippy::restriction, in gen_for_struct()
103 clippy::perf, in gen_for_struct()
104 clippy::deprecated, in gen_for_struct()
105 clippy::nursery, in gen_for_struct()
106 clippy::cargo, in gen_for_struct()
107 clippy::suspicious_else_formatting, in gen_for_struct()
108 clippy::almost_swapped, in gen_for_struct()
[all …]
Dsubcommand.rs70 clippy::style, in gen_for_enum()
71 clippy::complexity, in gen_for_enum()
72 clippy::pedantic, in gen_for_enum()
73 clippy::restriction, in gen_for_enum()
74 clippy::perf, in gen_for_enum()
75 clippy::deprecated, in gen_for_enum()
76 clippy::nursery, in gen_for_enum()
77 clippy::cargo, in gen_for_enum()
78 clippy::suspicious_else_formatting, in gen_for_enum()
79 clippy::almost_swapped, in gen_for_enum()
[all …]
/third_party/rust/crates/serde/serde/src/
Dlib.rs109 // Ignored clippy and clippy_pedantic lints
111 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
112 clippy::unnested_or_patterns,
113 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7768
114 clippy::semicolon_if_nothing_returned,
116 clippy::empty_enum,
117 clippy::type_repetition_in_bounds, // https://github.com/rust-lang/rust-clippy/issues/8772
119 clippy::cast_possible_truncation,
120 clippy::cast_possible_wrap,
121 clippy::cast_sign_loss,
[all …]
/third_party/rust/crates/cxx/gen/build/src/
Dlib.rs50 clippy::cast_sign_loss,
51 clippy::default_trait_access,
52 clippy::derive_partial_eq_without_eq,
53 clippy::doc_markdown,
54 clippy::drop_copy,
55 clippy::enum_glob_use,
56 clippy::explicit_auto_deref,
57 clippy::if_same_then_else,
58 clippy::inherent_to_string,
59 clippy::items_after_statements,
[all …]
/third_party/rust/crates/syn/src/
Dlib.rs257 clippy::bool_to_int_with_if,
258 clippy::cast_lossless,
259 clippy::cast_possible_truncation,
260 clippy::cast_possible_wrap,
261 clippy::cast_ptr_alignment,
262 clippy::default_trait_access,
263 clippy::derivable_impls,
264 clippy::diverging_sub_expression,
265 clippy::doc_markdown,
266 clippy::expl_impl_clone_on_copy,
[all …]
/third_party/rust/crates/syn/codegen/src/
Dmain.rs13 clippy::items_after_statements,
14 clippy::manual_let_else,
15 clippy::match_like_matches_macro,
16 clippy::similar_names,
17 clippy::too_many_lines,
18 clippy::uninlined_format_args
/third_party/rust/crates/clap/.github/workflows/
Drust-next.yml90 clippy:
91 name: clippy
108 components: clippy
111 run: make clippy-minimal ARGS='--manifest-path Cargo.toml'
113 run: make clippy-minimal
115 run: make clippy-full
117 run: make clippy-release
Dci.yml16 needs: [test, check, docs, rustfmt, clippy, cffconvert]
168 clippy:
169 name: clippy
180 components: clippy
183 run: make clippy-minimal ARGS='--manifest-path Cargo.toml'
185 run: make clippy-minimal
187 run: make clippy-full
189 run: make clippy-release
/third_party/rust/crates/minimal-lexical/scripts/
Dcheck.sh2 # Ensure formatting and clippy is done on nightly.
12 # Do the formatting and clippy for all our project workspaces.
14 cargo +nightly clippy --no-default-features -- --deny warnings
15 cargo +nightly clippy --features=compact -- --deny warnings
16 cargo +nightly clippy --features=alloc -- --deny warnings
/third_party/rust/crates/syn/benches/
Dfile.rs6 clippy::items_after_statements,
7 clippy::manual_let_else,
8 clippy::match_like_matches_macro,
9 clippy::missing_panics_doc,
10 clippy::must_use_candidate,
11 clippy::uninlined_format_args
Drust.rs9 clippy::arc_with_non_send_sync,
10 clippy::cast_lossless,
11 clippy::let_underscore_untyped,
12 clippy::manual_let_else,
13 clippy::match_like_matches_macro,
14 clippy::uninlined_format_args,
15 clippy::unnecessary_wraps
/third_party/rust/crates/minimal-lexical/docs/
DDevelopment.md24 - Clippy
36 rustup +nightly component add clippy
55 …exhuszagh/minimal_lexical/blob/main/scripts/check.sh): Check rustfmt and clippy without formatting…
56 …gh/minimal_lexical/blob/main/scripts/fmt.sh): Run `cargo fmt` and `cargo clippy` in all projects a…
64 # Ensure all rustfmt and clippy checks pass.
83 # Ensure clippy checks pass for `# Safety` sections.
84 cargo +nightly clippy --all-features -- --deny warnings
/third_party/rust/crates/either/.github/workflows/
Dci.yml45 clippy:
46 name: Rustfmt and Clippy
55 components: rustfmt, clippy
60 - name: Clippy
61 run: cargo clippy # -- -D warnings
/third_party/rust/crates/serde/.github/workflows/
Dci.yml135 clippy:
136 name: Clippy
142 - uses: dtolnay/rust-toolchain@clippy
143 - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic
144 - run: cd serde_derive && cargo clippy -- -Dclippy::all -Dclippy::pedantic
145 - run: cd serde_derive_internals && cargo clippy -- -Dclippy::all -Dclippy::pedantic
146 …- run: cd test_suite && cargo clippy --tests --features unstable -- -Dclippy::all -Dclippy::pedant…
147 - run: cd test_suite/no_std && cargo clippy -- -Dclippy::all -Dclippy::pedantic
/third_party/rust/crates/unicode-ident/generate/src/
Dmain.rs12 clippy::cast_lossless,
13 clippy::cast_possible_truncation, // https://github.com/rust-lang/rust-clippy/issues/9613
14 clippy::let_underscore_untyped,
15 clippy::match_wild_err_arm,
16 clippy::module_name_repetitions,
17 clippy::too_many_lines,
18 clippy::uninlined_format_args
/third_party/rust/crates/which-rs/.github/workflows/
Drust.yml26 # Run the `clippy` linting tool
27 clippy:
28 name: Clippy [Linter]
43 components: clippy
48 command: clippy
/third_party/rust/crates/cxx/src/
Dlib.rs377 clippy::cognitive_complexity,
378 clippy::declare_interior_mutable_const,
379 clippy::doc_markdown,
380 clippy::empty_enum,
381 clippy::extra_unused_type_parameters,
382 clippy::inherent_to_string,
383 clippy::items_after_statements,
384 clippy::large_enum_variant,
385 clippy::len_without_is_empty,
386 clippy::missing_errors_doc,
[all …]
/third_party/rust/crates/link-cplusplus/.github/workflows/
Dci.yml31 clippy:
32 name: Clippy
38 - uses: dtolnay/rust-toolchain@clippy
39 - run: cargo clippy -- -Dclippy::all -Dclippy::pedantic

1234567891011