77 |
#[allow(clippy::redundant_pub_crate)] // Error is a private type
|
78 |
pub(crate) fn derive(input: &syn::DeriveInput) -> Result<TokenStream, Error> {
|
38 |
/// See <https://github.com/extrawurst/gitui/issues/79>.
|
39 |
#[allow(clippy::redundant_pub_crate)]
|
40 |
pub(crate) fn signature_allow_undefined_name(
|
5 |
#[allow(clippy::redundant_pub_crate)]
|
6 |
pub(crate) struct HunkLines<'a> {
|
11 |
#[allow(clippy::redundant_pub_crate)]
|
12 |
pub(crate) fn get_file_diff_patch_and_hunklines<'a>(
|
73 |
// this is the heart of the per line discard,stage,unstage. heavily inspired by the great work in nodegit: https://github.com/nodegit/nodegit
|
74 |
#[allow(clippy::redundant_pub_crate)]
|
75 |
pub(crate) fn apply_selection(
|
115 |
#[allow(clippy::mut_mut)]
|
116 |
#[allow(clippy::redundant_pub_crate)]
|
117 |
#[allow(clippy::ref_option_ref)]
|
341 |
#[allow(clippy::redundant_pub_crate)]
|
342 |
pub(crate) enum PendingValue<'a, V> {
|
18 |
#[allow(clippy::redundant_pub_crate)] // Fix this shit already. Haha.
|
19 |
/// # File Entry.
|
13 |
#[allow(clippy::redundant_pub_crate)]
|
14 |
pub(crate) type NameToolchainMap = BTreeMap<String, ToolchainMap>;
|
28 |
#[allow(clippy::redundant_pub_crate)]
|
29 |
pub(crate) type PrivateKeyRaw = [u8; KEY_LENGTH];
|
30 |
#[allow(clippy::redundant_pub_crate)]
|
31 |
pub(crate) type SeedRaw = [u8; KEY_LENGTH];
|
94 |
use crate::http::channel::{CreateGuildChannelInfo, CreateGuildChannelPayload, EditChannelPayload};
|
95 |
#[allow(clippy::redundant_pub_crate)] // false positive
|
96 |
pub(crate) use {construct_guild_channel, query_guild_channels};
|
113 |
#[allow(clippy::mut_mut)]
|
114 |
#[allow(clippy::redundant_pub_crate)]
|
115 |
#[allow(clippy::ref_option_ref)]
|
58 |
#[educe(Debug)]
|
59 |
#[allow(clippy::redundant_pub_crate)]
|
60 |
pub(crate) struct CryptostoreData {
|
145 |
#[derive(Clone, Debug)]
|
146 |
#[allow(clippy::redundant_pub_crate)]
|
147 |
pub(crate) struct AccountInfo {
|
1295 |
#[allow(clippy::redundant_pub_crate)]
|
1296 |
#[cfg(all(test, feature = "postgres", feature = "ci"))]
|
1336 |
#[allow(clippy::redundant_pub_crate)]
|
1337 |
#[cfg(all(test, feature = "sqlite"))]
|
298 |
#[allow(clippy::redundant_pub_crate)]
|
299 |
pub(crate) struct EntryFetcher<'a> {
|
15 |
#[allow(clippy::pattern_type_mismatch)]
|
16 |
#[allow(clippy::redundant_pub_crate)]
|
17 |
#[allow(clippy::type_repetition_in_bounds)]
|
38 |
#[allow(clippy::pattern_type_mismatch)]
|
39 |
#[allow(clippy::redundant_pub_crate)]
|
40 |
#[allow(clippy::type_repetition_in_bounds)]
|
58 |
#[allow(clippy::pattern_type_mismatch)]
|
59 |
#[allow(clippy::redundant_pub_crate)]
|
60 |
#[allow(clippy::type_repetition_in_bounds)]
|
15 |
#[allow(clippy::pattern_type_mismatch)]
|
16 |
#[allow(clippy::redundant_pub_crate)]
|
17 |
#[allow(clippy::type_repetition_in_bounds)]
|
11 |
#[allow(clippy::pattern_type_mismatch)]
|
12 |
#[allow(clippy::redundant_pub_crate)]
|
13 |
#[allow(clippy::type_repetition_in_bounds)]
|
21 |
#[allow(clippy::pattern_type_mismatch)]
|
22 |
#[allow(clippy::redundant_pub_crate)]
|
23 |
#[allow(clippy::type_repetition_in_bounds)]
|
51 |
#[allow(clippy::pattern_type_mismatch)]
|
52 |
#[allow(clippy::redundant_pub_crate)]
|
53 |
#[allow(clippy::type_repetition_in_bounds)]
|
81 |
#[allow(clippy::pattern_type_mismatch)]
|
82 |
#[allow(clippy::redundant_pub_crate)]
|
83 |
#[allow(clippy::type_repetition_in_bounds)]
|
109 |
#[allow(clippy::pattern_type_mismatch)]
|
110 |
#[allow(clippy::redundant_pub_crate)]
|
111 |
#[allow(clippy::type_repetition_in_bounds)]
|
18 |
#[allow(clippy::pattern_type_mismatch)]
|
19 |
#[allow(clippy::redundant_pub_crate)]
|
20 |
#[allow(clippy::type_repetition_in_bounds)]
|
9 |
#[allow(clippy::mut_mut)]
|
10 |
#[allow(clippy::redundant_pub_crate)]
|
11 |
#[allow(clippy::ref_option_ref)]
|
26 |
#[allow(clippy::mut_mut)]
|
27 |
#[allow(clippy::redundant_pub_crate)]
|
28 |
#[allow(clippy::ref_option_ref)]
|
42 |
#[allow(clippy::mut_mut)]
|
43 |
#[allow(clippy::redundant_pub_crate)]
|
44 |
#[allow(clippy::type_repetition_in_bounds)]
|
8 |
#[allow(clippy::unknown_clippy_lints)]
|
9 |
#[allow(clippy::redundant_pub_crate)]
|
10 |
#[allow(clippy::used_underscore_binding)]
|
15 |
#[allow(clippy::mut_mut)]
|
16 |
#[allow(clippy::redundant_pub_crate)]
|
17 |
#[allow(clippy::ref_option_ref)]
|
29 |
#[allow(clippy::mut_mut)]
|
30 |
#[allow(clippy::redundant_pub_crate)]
|
31 |
#[allow(clippy::ref_option_ref)]
|
13 |
#[allow(clippy::mut_mut)]
|
14 |
#[allow(clippy::redundant_pub_crate)]
|
15 |
#[allow(clippy::type_repetition_in_bounds)]
|
10 |
#[allow(clippy::mut_mut)]
|
11 |
#[allow(clippy::redundant_pub_crate)]
|
12 |
#[allow(clippy::type_repetition_in_bounds)]
|
21 |
#[allow(clippy::unknown_clippy_lints)]
|
22 |
#[allow(clippy::redundant_pub_crate)]
|
23 |
#[allow(clippy::used_underscore_binding)]
|
28 |
#[allow(clippy::mut_mut)]
|
29 |
#[allow(clippy::redundant_pub_crate)]
|
30 |
#[allow(clippy::ref_option_ref)]
|
538 |
let (exit_status, log_lines): (ExitStatus, Vec<LogLine>) = {
|
539 |
#[allow(clippy::redundant_pub_crate)]
|
540 |
let cancellation_result: Result<
|
128 |
#[allow(clippy::redundant_pub_crate)]
|
129 |
#[cfg_attr(feature = "profiling", instrument)]
|
1 |
pub use self::predicate_state::PredicateState;
|
2 |
#[allow(clippy::redundant_pub_crate)]
|
3 |
pub(crate) use self::predicate_state::{PredicateStateProject, PredicateStateReplace};
|
43 |
// https://github.com/rust-lang/rust-clippy/issues/7862
|
44 |
#[allow(clippy::redundant_pub_crate)]
|
45 |
pub(crate) mod mime_types {
|
99 |
clippy::module_name_repetitions,
|
100 |
clippy::redundant_pub_crate,
|
101 |
)]
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
2 |
#![allow(unused)]
|
38 |
clippy::pattern_type_mismatch,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::shadow_reuse,
|
38 |
clippy::pattern_type_mismatch,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::shadow_reuse,
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
2 |
use std::convert::{TryFrom, TryInto};
|
173 |
#![allow(clippy::future_not_send)]
|
174 |
#![allow(clippy::redundant_pub_crate)]
|
175 |
#![allow(clippy::cognitive_complexity)]
|
38 |
clippy::suboptimal_flops,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::fallible_impl_from
|
35 |
clippy::suboptimal_flops,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
261 |
clippy::module_name_repetitions,
|
262 |
clippy::redundant_pub_crate
|
263 |
)]
|
53 |
clippy::module_name_repetitions,
|
54 |
clippy::redundant_pub_crate
|
55 |
)]
|
156 |
#![allow(clippy::suboptimal_flops)]
|
157 |
#![allow(clippy::redundant_pub_crate)]
|
158 |
// won't fix:
|
10 |
#![warn(clippy::all, clippy::pedantic, clippy::nursery, rust_2018_idioms)]
|
11 |
#![allow(clippy::redundant_pub_crate)]
|
12 |
#![forbid(unsafe_code)]
|
201 |
clippy::needless_doctest_main,
|
202 |
clippy::redundant_pub_crate,
|
203 |
)]
|
47 |
clippy::missing_docs_in_private_items,
|
48 |
clippy::redundant_pub_crate,
|
49 |
clippy::tabs_in_doc_comments
|
30 |
#![allow(clippy::multiple_crate_versions)]
|
31 |
#![allow(clippy::redundant_pub_crate)]
|
32 |
#![allow(clippy::option_if_let_else)]
|
43 |
#![allow(clippy::redundant_pub_crate)]
|
122 |
)]
|
123 |
#![allow(clippy::redundant_pub_crate)]
|
124 |
#![doc(html_favicon_url = "https://avatars0.githubusercontent.com/u/55999857")]
|
68 |
clippy::module_name_repetitions,
|
69 |
clippy::redundant_pub_crate
|
70 |
)] // This is fine.
|
38 |
clippy::must_use_candidate,
|
39 |
clippy::redundant_pub_crate
|
40 |
)]
|
35 |
clippy::must_use_candidate,
|
36 |
clippy::redundant_pub_crate
|
37 |
)]
|
26 |
clippy::non_ascii_literal,
|
27 |
clippy::redundant_pub_crate,
|
28 |
clippy::uninlined_format_args, // until 1.65.0 is minimum version
|
25 |
clippy::non_ascii_literal,
|
26 |
clippy::redundant_pub_crate,
|
27 |
clippy::unused_self,
|
452 |
)]
|
453 |
#![allow(clippy::redundant_pub_crate)] // This would otherwise clash with `unreachable_pub`
|
454 |
#![allow(clippy::missing_errors_doc)] // This is an error handling library producing Results, not Errors
|
38 |
clippy::pattern_type_mismatch,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::shadow_reuse,
|
55 |
clippy::needless_doctest_main,
|
56 |
clippy::redundant_pub_crate,
|
57 |
clippy::suboptimal_flops
|
76 |
clippy::module_name_repetitions,
|
77 |
clippy::redundant_pub_crate,
|
78 |
)]
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
60 |
clippy::option_if_let_else,
|
61 |
clippy::redundant_pub_crate,
|
62 |
clippy::tabs_in_doc_comments,
|
58 |
clippy::single_match_else,
|
59 |
clippy::redundant_pub_crate,
|
60 |
// the api is changing too often to allot this
|
58 |
clippy::single_match_else,
|
59 |
clippy::redundant_pub_crate,
|
60 |
// the api is changing too often to allot this
|
11 |
#![warn(nonstandard_style)]
|
12 |
#![allow(clippy::redundant_pub_crate)]
|
13 |
extern crate core;
|
11 |
clippy::non_ascii_literal,
|
12 |
clippy::redundant_pub_crate,
|
13 |
clippy::multiple_crate_versions,
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
61 |
clippy::suboptimal_flops,
|
62 |
clippy::redundant_pub_crate,
|
63 |
clippy::fallible_impl_from
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
191 |
clippy::suboptimal_flops,
|
192 |
clippy::redundant_pub_crate,
|
193 |
clippy::fallible_impl_from
|
52 |
clippy::suboptimal_flops,
|
53 |
clippy::redundant_pub_crate,
|
54 |
clippy::fallible_impl_from
|
15 |
clippy::needless_doctest_main,
|
16 |
clippy::redundant_pub_crate,
|
17 |
clippy::suboptimal_flops
|
86 |
#![warn(clippy::cargo, clippy::nursery, clippy::pedantic)]
|
87 |
#![allow(clippy::doc_markdown, clippy::redundant_pub_crate)]
|
88 |
#![cfg_attr(rustc_1_36, no_std)]
|
93 |
clippy::needless_doctest_main,
|
94 |
clippy::redundant_pub_crate,
|
95 |
clippy::suboptimal_flops
|
35 |
clippy::suboptimal_flops,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
87 |
clippy::suboptimal_flops,
|
88 |
clippy::redundant_pub_crate,
|
89 |
clippy::fallible_impl_from
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
38 |
clippy::suboptimal_flops,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::fallible_impl_from
|
11 |
clippy::new_without_default,
|
12 |
clippy::redundant_pub_crate,
|
13 |
clippy::too_many_arguments,
|
11 |
clippy::new_without_default,
|
12 |
clippy::redundant_pub_crate,
|
13 |
clippy::too_many_arguments,
|
25 |
// Has false positives that conflict with unreachable_pub
|
26 |
#![allow(clippy::redundant_pub_crate)]
|
27 |
#![deny(rustdoc::missing_doc_code_examples)]
|
30 |
// Conflicts with unreachable_pub
|
31 |
#![allow(clippy::redundant_pub_crate)]
|
32 |
#![deny(clippy::missing_docs_in_private_items)]
|
5 |
#![allow(clippy::default_trait_access)]
|
6 |
#![allow(clippy::redundant_pub_crate)]
|
7 |
#![warn(clippy::filetype_is_file)]
|
18 |
#![allow(clippy::use_self)] // too many false positives and fails to be overridden locally
|
19 |
#![allow(clippy::redundant_pub_crate)] // prevents accidents when changing the visibility of the containing modul
|
20 |
//
|
1 |
//! This module contains general purpose functions (aka dump).
|
2 |
#![allow(clippy::redundant_pub_crate)]
|
3 |
#![doc(hidden)]
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
2 |
#[cfg(feature = "async")]
|
1 |
#![allow(clippy::redundant_pub_crate)]
|
97 |
// Prefered over not having pub(crate) and being unclear about visibility
|
98 |
#![allow(clippy::redundant_pub_crate)]
|
99 |
#![cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
|
9 |
)]
|
10 |
#![allow(clippy::redundant_pub_crate)] // check is broken
|
11 |
#![allow(clippy::redundant_else)] // can make code more readable
|
122 |
clippy::suboptimal_flops,
|
123 |
clippy::redundant_pub_crate,
|
124 |
clippy::fallible_impl_from
|
35 |
clippy::suboptimal_flops,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
35 |
clippy::suboptimal_flops,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
69 |
clippy::suboptimal_flops,
|
70 |
clippy::redundant_pub_crate,
|
71 |
clippy::fallible_impl_from,
|
72 |
clippy::suboptimal_flops,
|
73 |
clippy::redundant_pub_crate,
|
74 |
clippy::fallible_impl_from
|
128 |
#![allow(
|
129 |
clippy::redundant_pub_crate, // suggests bad style
|
130 |
clippy::option_if_let_else, // suggests terrible code
|
46 |
)]
|
47 |
#![allow(clippy::redundant_pub_crate)]
|
48 |
#![doc(html_favicon_url = "https://avatars0.githubusercontent.com/u/55999857")]
|
32 |
clippy::missing_const_for_fn, // useless in proc macro
|
33 |
clippy::redundant_pub_crate, // suggests bad style
|
34 |
clippy::option_if_let_else, // suggests terrible code
|
44 |
clippy::must_use_candidate,
|
45 |
clippy::redundant_pub_crate,
|
46 |
clippy::suspicious_arithmetic_impl,
|
35 |
clippy::needless_doctest_main,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::suboptimal_flops
|
8 |
clippy::cast_possible_truncation,
|
9 |
clippy::redundant_pub_crate,
|
10 |
clippy::struct_excessive_bools
|
45 |
clippy::suboptimal_flops,
|
46 |
clippy::redundant_pub_crate,
|
47 |
clippy::fallible_impl_from
|
35 |
clippy::suboptimal_flops,
|
36 |
clippy::redundant_pub_crate,
|
37 |
clippy::fallible_impl_from
|
2 |
clippy::missing_const_for_fn,
|
3 |
clippy::redundant_pub_crate,
|
4 |
clippy::use_self
|
112 |
clippy::module_name_repetitions,
|
113 |
clippy::redundant_pub_crate,
|
114 |
)]
|
40 |
clippy::needless_doctest_main,
|
41 |
clippy::redundant_pub_crate,
|
42 |
clippy::suboptimal_flops
|
65 |
clippy::module_name_repetitions,
|
66 |
clippy::redundant_pub_crate,
|
67 |
)]
|
14 |
#![allow(clippy::redundant_closure_for_method_calls)]
|
15 |
#![allow(clippy::redundant_pub_crate)]
|
16 |
#![allow(clippy::similar_names)]
|