Home
last modified time | relevance | path

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

1234567891011

/third_party/rust/crates/serde/serde_derive/src/
Dlib.rs18 // Ignored clippy lints
20 // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054
21 clippy::branches_sharing_code,
22 clippy::cognitive_complexity,
23 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
24 clippy::collapsible_match,
25 clippy::enum_variant_names,
26 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6797
27 clippy::manual_map,
28 clippy::match_like_matches_macro,
[all …]
/third_party/rust/crates/serde/serde_derive_internals/
Dlib.rs3 // Ignored clippy lints
5 clippy::cognitive_complexity,
6 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
7 clippy::collapsible_match,
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,
13 clippy::should_implement_trait,
[all …]
/third_party/rust/crates/cxx/gen/lib/src/
Dlib.rs13 clippy::cast_sign_loss,
14 clippy::default_trait_access,
15 clippy::derive_partial_eq_without_eq,
16 clippy::enum_glob_use,
17 clippy::if_same_then_else,
18 clippy::inherent_to_string,
19 clippy::items_after_statements,
20 clippy::match_bool,
21 clippy::match_on_vec_items,
22 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.rs30 clippy::style, in gen_for_struct()
31 clippy::complexity, in gen_for_struct()
32 clippy::pedantic, in gen_for_struct()
33 clippy::restriction, in gen_for_struct()
34 clippy::perf, in gen_for_struct()
35 clippy::deprecated, in gen_for_struct()
36 clippy::nursery, in gen_for_struct()
37 clippy::cargo, in gen_for_struct()
38 clippy::suspicious_else_formatting, in gen_for_struct()
40 #[deny(clippy::correctness)] in gen_for_struct()
[all …]
Dvalue_enum.rs59 clippy::style, in gen_for_enum()
60 clippy::complexity, in gen_for_enum()
61 clippy::pedantic, in gen_for_enum()
62 clippy::restriction, in gen_for_enum()
63 clippy::perf, in gen_for_enum()
64 clippy::deprecated, in gen_for_enum()
65 clippy::nursery, in gen_for_enum()
66 clippy::cargo, in gen_for_enum()
67 clippy::suspicious_else_formatting, in gen_for_enum()
69 #[deny(clippy::correctness)] in gen_for_enum()
Dsubcommand.rs74 clippy::style, in gen_for_enum()
75 clippy::complexity, in gen_for_enum()
76 clippy::pedantic, in gen_for_enum()
77 clippy::restriction, in gen_for_enum()
78 clippy::perf, in gen_for_enum()
79 clippy::deprecated, in gen_for_enum()
80 clippy::nursery, in gen_for_enum()
81 clippy::cargo, in gen_for_enum()
82 clippy::suspicious_else_formatting, in gen_for_enum()
84 #[deny(clippy::correctness)] in gen_for_enum()
[all …]
Dargs.rs103 clippy::style, in gen_for_struct()
104 clippy::complexity, in gen_for_struct()
105 clippy::pedantic, in gen_for_struct()
106 clippy::restriction, in gen_for_struct()
107 clippy::perf, in gen_for_struct()
108 clippy::deprecated, in gen_for_struct()
109 clippy::nursery, in gen_for_struct()
110 clippy::cargo, in gen_for_struct()
111 clippy::suspicious_else_formatting, in gen_for_struct()
113 #[deny(clippy::correctness)] in gen_for_struct()
[all …]
/third_party/rust/crates/cxx/gen/build/src/
Dlib.rs49 clippy::cast_sign_loss,
50 clippy::default_trait_access,
51 clippy::derive_partial_eq_without_eq,
52 clippy::doc_markdown,
53 clippy::drop_copy,
54 clippy::enum_glob_use,
55 clippy::explicit_auto_deref,
56 clippy::if_same_then_else,
57 clippy::inherent_to_string,
58 clippy::items_after_statements,
[all …]
/third_party/rust/crates/syn/tests/repo/
Dmod.rs1 #![allow(clippy::manual_assert)]
77 // Clippy lint lists represented as expressions
78 "src/tools/clippy/clippy_lints/src/lib.deprecated.rs",
79 "src/tools/clippy/clippy_lints/src/lib.register_all.rs",
80 "src/tools/clippy/clippy_lints/src/lib.register_cargo.rs",
81 "src/tools/clippy/clippy_lints/src/lib.register_complexity.rs",
82 "src/tools/clippy/clippy_lints/src/lib.register_correctness.rs",
83 "src/tools/clippy/clippy_lints/src/lib.register_internal.rs",
84 "src/tools/clippy/clippy_lints/src/lib.register_lints.rs",
85 "src/tools/clippy/clippy_lints/src/lib.register_nursery.rs",
[all …]
/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/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]
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/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/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::doc_markdown,
264 clippy::expl_impl_clone_on_copy,
265 clippy::explicit_auto_deref,
266 clippy::if_not_else,
[all …]
/third_party/rust/crates/serde/.github/workflows/
Dci.yml152 clippy:
153 name: Clippy
158 - uses: dtolnay/rust-toolchain@clippy
159 - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic
160 - run: cd serde_derive && cargo clippy -- -Dclippy::all -Dclippy::pedantic
161 - run: cd serde_derive_internals && cargo clippy -- -Dclippy::all -Dclippy::pedantic
162 - run: cd serde_test && cargo clippy -- -Dclippy::all -Dclippy::pedantic
163 …- run: cd test_suite && cargo clippy --tests --features unstable -- -Dclippy::all -Dclippy::pedant…
164 - run: cd test_suite/no_std && cargo clippy -- -Dclippy::all -Dclippy::pedantic
/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/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
/third_party/rust/crates/quote/.github/workflows/
Dci.yml55 clippy:
56 name: Clippy
64 components: clippy, rust-src
65 - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
/third_party/rust/crates/unicode-ident/tests/trie/
Dmod.rs1 #![allow(clippy::module_inception)]
3 #[allow(dead_code, clippy::redundant_static_lifetimes, clippy::unreadable_literal)]
/third_party/rust/crates/proc-macro2/.github/workflows/
Dci.yml101 clippy:
102 name: Clippy
108 - uses: dtolnay/rust-toolchain@clippy
109 - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
110 - run: cargo clippy --tests --all-features -- -Dclippy::all -Dclippy::pedantic

1234567891011