567 |
// Convert from FFI type to friendly enum type.
|
568 |
#[allow(clippy::wildcard_enum_match_arm)]
|
569 |
match ffi_mouse.event_type {
|
279 |
#[allow(clippy::wildcard_enum_match_arm, clippy::cast_possible_truncation)]
|
280 |
fn update(&mut self, value: Value) {
|
169 |
#[allow(clippy::wildcard_enum_match_arm)]
|
170 |
let suffix = match obj.kind() {
|
140 |
#[allow(clippy::wildcard_enum_match_arm)]
|
141 |
fn clear_patch_folder() -> Result<()> {
|
476 |
#[allow(clippy::wildcard_enum_match_arm)]
|
477 |
fn read_to_string(path: &Path) -> Result<String> {
|
180 |
#[allow(clippy::wildcard_enum_match_arm, clippy::print_stdout)]
|
181 |
fn test<'a, F, O>(f: F, i: &'a str) -> IResult<&'a str, O, VerboseError<&'a str>>
|
240 |
#[allow(clippy::print_stdout)]
|
241 |
#[allow(clippy::wildcard_enum_match_arm)]
|
242 |
fn run(config: MainConfig) -> Result<MainResult> {
|
40 |
#[must_use]
|
41 |
#[allow(clippy::wildcard_enum_match_arm)]
|
42 |
pub(crate) fn handle_view_data_scroll(event: Event, view_sender: &ViewSender) -> Option<Event> {
|
61 |
#[allow(clippy::wildcard_enum_match_arm)]
|
62 |
fn handle_standard_inputs(event: Event<CustomEvent>) -> Option<Event<CustomEvent>> {
|
72 |
#[allow(clippy::wildcard_enum_match_arm)]
|
73 |
fn handle_movement_inputs(
|
266 |
#[allow(clippy::wildcard_enum_match_arm, clippy::print_stdout)]
|
267 |
fn test<'a, F, O>(f: F, i: &'a str) -> IResult<&'a str, O, VerboseError<&'a str>>
|
52 |
impl Display for Language {
|
53 |
#[allow(clippy::wildcard_enum_match_arm)]
|
54 |
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
212 |
impl Display for Organisation {
|
213 |
#[allow(clippy::wildcard_enum_match_arm)]
|
214 |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
62 |
#[allow(clippy::option_unwrap_used)]
|
63 |
#[allow(clippy::wildcard_enum_match_arm)]
|
64 |
pub(crate) fn from_stderr(stderr_raw: &[u8]) -> Self {
|
61 |
#[allow(clippy::option_unwrap_used, clippy::wildcard_enum_match_arm)]
|
62 |
pub(crate) fn from_pest_pair(pair: Pair<'_, Rule>) -> Zpool {
|
121 |
#[inline]
|
122 |
#[allow(clippy::option_unwrap_used, clippy::result_unwrap_used, clippy::wildcard_enum_match_arm)]
|
123 |
fn get_error_statistics_from_pair(pair: Pair<'_, Rule>) -> ErrorStatistics {
|
133 |
#[inline]
|
134 |
#[allow(clippy::option_unwrap_used, clippy::wildcard_enum_match_arm)]
|
135 |
fn set_stats_and_reason_from_pool_line(pool_line: Pair<'_, Rule>, zpool: &mut ZpoolBuilder) {
|
191 |
#[inline]
|
192 |
#[allow(clippy::option_unwrap_used, clippy::wildcard_enum_match_arm)]
|
193 |
fn get_stats_and_reason_from_pairs(pairs: Pairs<'_, Rule>) -> (ErrorStatistics, Option<Reason>) {
|
208 |
#[inline]
|
209 |
#[allow(clippy::option_unwrap_used, clippy::wildcard_enum_match_arm)]
|
210 |
fn get_vdevs_from_pair(pair: Pair<'_, Rule>) -> Vec<Vdev> {
|
181 |
impl From<io::Error> for ZpoolError {
|
182 |
#[allow(clippy::wildcard_enum_match_arm)]
|
183 |
fn from(err: io::Error) -> ZpoolError {
|
1062 |
#[allow(clippy::wildcard_enum_match_arm)]
|
1063 |
match self.deserializer.expect_token()? {
|
1139 |
#[allow(clippy::wildcard_enum_match_arm)]
|
1140 |
match self.deserializer.expect_token()? {
|
42 |
{
|
43 |
#[allow(clippy::wildcard_enum_match_arm)]
|
44 |
match value {
|
282 |
fn deserialize_bool<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> {
|
283 |
#[allow(clippy::wildcard_enum_match_arm)]
|
284 |
match self {
|
346 |
fn deserialize_string<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> {
|
347 |
#[allow(clippy::wildcard_enum_match_arm)]
|
348 |
match self {
|
362 |
fn deserialize_byte_buf<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> {
|
363 |
#[allow(clippy::wildcard_enum_match_arm)]
|
364 |
match self {
|
372 |
fn deserialize_option<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> {
|
373 |
#[allow(clippy::wildcard_enum_match_arm)]
|
374 |
match self {
|
41 |
{
|
42 |
#[allow(clippy::wildcard_enum_match_arm)]
|
43 |
match *value {
|
278 |
fn deserialize_bool<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> {
|
279 |
#[allow(clippy::wildcard_enum_match_arm)]
|
280 |
match *self {
|
338 |
fn deserialize_str<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Self::Error> {
|
339 |
#[allow(clippy::wildcard_enum_match_arm)]
|
340 |
match *self {
|
116 |
for (i, range) in self.ranges.iter().enumerate() {
|
117 |
#[allow(clippy::wildcard_enum_match_arm)]
|
118 |
let overlap = match other.arrangement(range) {
|
97 |
{
|
98 |
#[allow(clippy::wildcard_enum_match_arm)]
|
99 |
match self {
|
62 |
{
|
63 |
#[allow(clippy::wildcard_enum_match_arm)]
|
64 |
match self {
|
56 |
// the first element must be root and is special
|
57 |
#[allow(clippy::single_match_else, clippy::wildcard_enum_match_arm)]
|
58 |
match reader_for_microxml.next() {
|
359 |
let res = fun(req)?;
|
360 |
#[allow(clippy::wildcard_enum_match_arm)]
|
361 |
match request.from_response(res) {
|
532 |
let res = fun(req).await?;
|
533 |
#[allow(clippy::wildcard_enum_match_arm)]
|
534 |
match request.from_response(res) {
|
180 |
/// [`PermissionsSource::Cache`] is passed, [`Error::CachePermissions`]
|
181 |
#[allow(clippy::wildcard_enum_match_arm)]
|
182 |
pub async fn update(
|
290 |
#[allow(clippy::wildcard_enum_match_arm)]
|
291 |
match &updated_rcpt.first().unwrap().email_status {
|
203 |
#[allow(clippy::wildcard_enum_match_arm)]
|
204 |
match &updated_rcpt.first().unwrap().email_status {
|
192 |
clippy::unreachable,
|
193 |
clippy::wildcard_enum_match_arm
|
194 |
)]
|
186 |
#[allow(clippy::wildcard_enum_match_arm)]
|
187 |
while session
|
42 |
clippy::unreachable,
|
43 |
clippy::wildcard_enum_match_arm,
|
44 |
unreachable_pub,
|
42 |
clippy::unreachable,
|
43 |
clippy::wildcard_enum_match_arm,
|
44 |
variant_size_differences
|
36 |
clippy::implicit_return,
|
37 |
clippy::wildcard_enum_match_arm,
|
38 |
// clippy::integer_arithmetic, // 直接整数都不能用运算符了。。得用checked函数,酌情开启吧,可以防止除0异常
|
16 |
clippy::expect_used,
|
17 |
clippy::wildcard_enum_match_arm
|
18 |
)]
|
54 |
#![allow(clippy::wildcard_enum_match_arm)] // not very practical with `syn` crate in here
|
43 |
#![allow(clippy::unreachable)]
|
44 |
#![allow(clippy::wildcard_enum_match_arm)]
|
45 |
// CLion is having a fit about panic not existing
|
47 |
#![allow(clippy::unreachable)]
|
48 |
#![allow(clippy::wildcard_enum_match_arm)]
|
49 |
// CLion is having a fit about panic not existing
|
85 |
#![allow(clippy::unreachable)]
|
86 |
#![allow(clippy::wildcard_enum_match_arm)]
|
3 |
#![allow(clippy::wildcard_enum_match_arm)]
|
42 |
clippy::unreachable,
|
43 |
clippy::wildcard_enum_match_arm,
|
44 |
unreachable_pub,
|
203 |
#![allow(clippy::use_debug)]
|
204 |
#![allow(clippy::wildcard_enum_match_arm)]
|
78 |
clippy::redundant_closure_for_method_calls,
|
79 |
clippy::wildcard_enum_match_arm,
|
80 |
missing_docs,
|
20 |
clippy::integer_arithmetic,
|
21 |
clippy::wildcard_enum_match_arm, // Might be good to avoid if possible
|
22 |
clippy::as_conversions, // Should be removed asap?
|
20 |
clippy::unseparated_literal_suffix,
|
21 |
clippy::wildcard_enum_match_arm,
|
22 |
clippy::wildcard_imports
|
6 |
clippy::print_stdout,
|
7 |
clippy::wildcard_enum_match_arm,
|
8 |
clippy::else_if_without_else
|
16 |
clippy::enum_glob_use,
|
17 |
clippy::wildcard_enum_match_arm,
|
18 |
clippy::pattern_type_mismatch,
|
188 |
clippy::shadow_unrelated,
|
189 |
clippy::wildcard_enum_match_arm,
|
190 |
clippy::module_name_repetitions
|
190 |
clippy::shadow_unrelated,
|
191 |
clippy::wildcard_enum_match_arm,
|
192 |
clippy::module_name_repetitions
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
16 |
clippy::pattern_type_mismatch,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
16 |
clippy::pattern_type_mismatch,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
16 |
clippy::pattern_type_mismatch,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
16 |
clippy::pattern_type_mismatch,
|
14 |
clippy::enum_glob_use,
|
15 |
clippy::wildcard_enum_match_arm,
|
16 |
clippy::pattern_type_mismatch,
|
6 |
clippy::print_stdout,
|
7 |
clippy::wildcard_enum_match_arm,
|
8 |
clippy::else_if_without_else
|
6 |
clippy::print_stdout,
|
7 |
clippy::wildcard_enum_match_arm,
|
8 |
clippy::else_if_without_else
|
55 |
clippy::pattern_type_mismatch,
|
56 |
clippy::wildcard_enum_match_arm,
|
57 |
clippy::exhaustive_enums,
|
56 |
clippy::pattern_type_mismatch,
|
57 |
clippy::wildcard_enum_match_arm,
|
58 |
clippy::exhaustive_enums,
|
55 |
clippy::pattern_type_mismatch,
|
56 |
clippy::wildcard_enum_match_arm,
|
57 |
clippy::exhaustive_enums,
|