112 |
fn is_command(key: Key) -> bool {
|
113 |
#[allow(clippy::match_like_matches_macro)]
|
114 |
match key {
|
138 |
pub fn is_float(self) -> bool {
|
139 |
#[allow(clippy::match_like_matches_macro)]
|
140 |
match self {
|
147 |
pub fn is_unsigned(self) -> bool {
|
148 |
#[allow(clippy::match_like_matches_macro)]
|
149 |
match self {
|
543 |
// Ancient rust versions do not known about `matches!` macro
|
544 |
#[allow(clippy::match_like_matches_macro)]
|
545 |
let mut use_global = match global {
|
146 |
// Ancient rust versions do not known about `matches!` macro
|
147 |
#[allow(clippy::match_like_matches_macro)]
|
148 |
match self {
|
237 |
// Ancient rust versions do not known about `matches!` macro
|
238 |
#[allow(clippy::match_like_matches_macro)]
|
239 |
match self {
|
568 |
pub fn is_none(&self) -> bool {
|
569 |
#[allow(clippy::match_like_matches_macro)]
|
570 |
// Ancient rust versions do not known about `matches!` macro
|
580 |
// Ancient rust versions do not known about `matches!` macro
|
581 |
#[allow(clippy::match_like_matches_macro)]
|
582 |
match self {
|
481 |
const OID_EC_PUBLIC_KEY: &[u8] = &oid! {raw 1.2.840.10045.2.1};
|
482 |
#[allow(clippy::match_like_matches_macro)]
|
483 |
fn compare_oid(oid: &Oid) -> bool {
|
23 |
/// Determine if an error requires a [`MarketStream`](super::MarketStream) to re-initialise.
|
24 |
#[allow(clippy::match_like_matches_macro)]
|
25 |
pub fn is_terminal(&self) -> bool {
|
205 |
/// ingestion of [`InstrumentKind::Spot`](barter_integration::model::InstrumentKind) market data.
|
206 |
#[allow(clippy::match_like_matches_macro)]
|
207 |
pub fn supports_spot(&self) -> bool {
|
216 |
/// market data.
|
217 |
#[allow(clippy::match_like_matches_macro)]
|
218 |
pub fn supports_futures(&self) -> bool {
|
1000 |
input.pointer = Default::default();
|
1001 |
#[allow(clippy::match_like_matches_macro)]
|
1002 |
input.events.retain(|event| match event {
|
57 |
#[allow(clippy::match_like_matches_macro)]
|
58 |
impl PartialEq for Strand {
|
80 |
#[allow(clippy::match_like_matches_macro)]
|
81 |
impl Same for Strand {
|
604 |
#[allow(clippy::match_like_matches_macro)]
|
605 |
pub fn is_quad_res(&self) -> Choice {
|
31 |
pub fn should_retry(&self) -> bool {
|
32 |
#[allow(clippy::match_like_matches_macro)]
|
33 |
match self {
|
148 |
#[allow(clippy::match_like_matches_macro)] // matches macro requires rust 1.42.0
|
149 |
fn retriable_error(err: &io::Error) -> bool {
|
451 |
#[allow(clippy::match_like_matches_macro)]
|
452 |
fn accepts(_ty: &postgres::types::Type) -> bool {
|
102 |
// This code is much clearer with a match statement
|
103 |
#[allow(clippy::match_like_matches_macro)]
|
104 |
Visibility::Default => match (&item.inner, path.last_type()) {
|
12 |
// This clippy recommendation is valid, but makes this function much harder to read
|
13 |
#[allow(clippy::match_like_matches_macro)]
|
14 |
pub fn allows(&self, dependency_kind: DependencyKind) -> bool {
|
460 |
// shush clippy, the comments are important
|
461 |
#[allow(clippy::match_like_matches_macro)]
|
462 |
let bucket = self.scan_mut_no_lock(&key, |x| match *x {
|
104 |
fn compatible(ty: &sqlx::postgres::PgTypeInfo) -> bool {
|
105 |
#[allow(clippy::match_like_matches_macro)]
|
106 |
match ty.name() {
|
31 |
fn is_final(&self) -> bool {
|
32 |
#[allow(clippy::match_like_matches_macro)]
|
33 |
match self {
|
39 |
fn is_trapped(&self) -> bool {
|
40 |
#[allow(clippy::match_like_matches_macro)]
|
41 |
match self {
|
108 |
fn is_color256(self) -> bool {
|
109 |
#[allow(clippy::match_like_matches_macro)]
|
110 |
match self {
|
8 |
const OID_EC_PUBLIC_KEY: &[u8] = &oid!(raw 1.2.840.10045.2.1);
|
9 |
#[allow(clippy::match_like_matches_macro)]
|
10 |
fn compare_oid(oid: &Oid) -> bool {
|
169 |
#[allow(clippy::match_like_matches_macro)] // needs rustc 1.42
|
170 |
fn is_phantom_data(path: &syn::Path) -> bool {
|
3 |
pub fn virtual_keycode_is_char(vk: VirtualKeyCode) -> bool {
|
4 |
#[allow(clippy::match_like_matches_macro)]
|
5 |
match vk {
|
28 |
// matches! is beyond our MSRV
|
29 |
#[allow(clippy::match_like_matches_macro)]
|
30 |
fn is_inferred(&self) -> bool {
|
511 |
fn eq(&self, other: &Self) -> bool {
|
512 |
#[allow(clippy::match_like_matches_macro)]
|
513 |
match (self, other) {
|
21653 |
impl FieldDataType {
|
21654 |
#[allow(clippy::match_like_matches_macro)]
|
21655 |
pub fn is_enum_type(self) -> bool {
|
57 |
/// None.
|
58 |
#[allow(clippy::match_like_matches_macro)]
|
59 |
fn from_env_var_value(input: std::result::Result<String, VarError>) -> Option<Status> {
|
540 |
/// <https://github.com/FuelLabs/fuel-specs/blob/master/src/vm/instruction_set.md#contract-instructions>
|
541 |
#[allow(clippy::match_like_matches_macro)]
|
542 |
// Not following clippy conventions because rustfmt formats macros into bloated code
|
560 |
#[test]
|
561 |
#[allow(clippy::match_like_matches_macro)]
|
562 |
fn check_predicate_allowed() {
|
70 |
pub fn is_hex(c: u8) -> bool {
|
71 |
#[allow(clippy::match_like_matches_macro)] // mirror ascii2byte
|
72 |
match c {
|
463 |
trace!("validating: {:?} {:?}", parts, kind);
|
464 |
#[allow(clippy::match_like_matches_macro)]
|
465 |
match (parts, kind) {
|
105 |
/// Returns a boolean determining whether or not this request is idempotent.
|
106 |
#[allow(clippy::match_like_matches_macro)]
|
107 |
pub fn is_idempotent(&self) -> bool {
|
40 |
#[allow(clippy::match_like_matches_macro)]
|
41 |
pub(crate) fn is_executable(&self) -> bool {
|
123 |
/// Whether the path with the given status change is OK.
|
124 |
#[allow(clippy::match_like_matches_macro)]
|
125 |
fn is_ok(&self, status: StatusChange) -> bool {
|
144 |
/// Whether the result is an import or not.
|
145 |
#[allow(clippy::match_like_matches_macro)]
|
146 |
fn is_import(&self) -> bool {
|
131 |
#[allow(clippy::match_like_matches_macro)]
|
132 |
fn same_kind(&self, other: &Type) -> bool {
|
76 |
/// Checks if filesystem is used for a physical devices
|
77 |
#[allow(clippy::unknown_clippy_lints, clippy::match_like_matches_macro)]
|
78 |
pub fn is_physical(&self) -> bool {
|
106 |
#[allow(clippy::match_like_matches_macro)] // >= 1.42.0
|
107 |
let nodev = match parts.next() {
|
55 |
use ManagedTaskError::*;
|
56 |
#[allow(clippy::match_like_matches_macro)]
|
57 |
match self {
|
44695 |
#[inline]
|
44696 |
#[allow(clippy::match_like_matches_macro)]
|
44697 |
pub const fn is_string_instruction(self) -> bool {
|
44925 |
#[must_use]
|
44926 |
#[allow(clippy::match_like_matches_macro)]
|
44927 |
pub(crate) const fn ignores_segment(self) -> bool {
|
44950 |
#[inline]
|
44951 |
#[allow(clippy::match_like_matches_macro)]
|
44952 |
pub(crate) const fn ignores_index(self) -> bool {
|
10 |
#[allow(clippy::match_like_matches_macro)]
|
11 |
fn boundary_filter(c: char) -> bool {
|
124 |
// Cannot use `matches!` due to #[cfg(...)]
|
125 |
#[allow(clippy::match_like_matches_macro)]
|
126 |
pub const fn is_owned(&self) -> bool {
|
133 |
fn eq(&self, other: &Self) -> bool {
|
134 |
#[allow(clippy::match_like_matches_macro)]
|
135 |
match (self, other) {
|
242 |
fn eq(&self, oth: &Self) -> bool {
|
243 |
#[allow(clippy::match_like_matches_macro)]
|
244 |
match (self, oth) {
|
609 |
#[inline]
|
610 |
#[allow(clippy::match_like_matches_macro)]
|
611 |
pub fn is_normalized(&self) -> bool {
|
335 |
#[allow(clippy::match_like_matches_macro)] // otherwise bumps MSRV
|
336 |
pub fn is_transient(&self) -> bool {
|
173 |
async fn should_use_ffmpeg_concat(segment: &Segment) -> Result<bool> {
|
174 |
#[allow(clippy::match_like_matches_macro)]
|
175 |
let use_ffmpeg = match segment.format {
|
63 |
// 1.40 compat
|
64 |
#[allow(clippy::match_like_matches_macro)]
|
65 |
match self {
|
744 |
{
|
745 |
#[allow(clippy::match_like_matches_macro)]
|
746 |
match kind {
|
422 |
ErrorRepr::IoError(ref err) => {
|
423 |
#[allow(clippy::match_like_matches_macro)]
|
424 |
match err.kind() {
|
161 |
#[allow(clippy::match_like_matches_macro)] // not available on the MSRV
|
162 |
fn set_hours(&mut self, hours: Hours) -> Result<(), Self::Error> {
|
477 |
fn is_corporate_character(c: char) -> bool {
|
478 |
#[allow(clippy::match_like_matches_macro)]
|
479 |
match c {
|
79 |
#[inline(always)]
|
80 |
#[allow(clippy::match_like_matches_macro)]
|
81 |
pub fn is_table_part(&self) -> bool {
|
172 |
#[inline]
|
173 |
#[allow(clippy::match_like_matches_macro)]
|
174 |
pub fn is_normalized(x: &[Limb]) -> bool {
|
80 |
// FIXME: The matches macro requires rust 1.42.0 and we still support 1.39.0
|
81 |
#[allow(clippy::match_like_matches_macro)]
|
82 |
pub fn is_unnamed(&self) -> bool {
|
10 |
#[allow(clippy::match_like_matches_macro)]
|
11 |
fn boundary_filter(c: char) -> bool {
|
79 |
#[allow(clippy::match_like_matches_macro)] // MSRV 1.38, matches! macro available in 1.42
|
80 |
/// Converts UNIX-style line endings (`\n`) to DOS-style (`\r\n`).
|
261 |
#[allow(clippy::missing_const_for_fn)]
|
262 |
#[allow(clippy::match_like_matches_macro)]
|
263 |
fn is_contradiction(&self) -> bool {
|
3595 |
#[allow(clippy::match_like_matches_macro)]
|
3596 |
Ok(match bool_int {
|
166 |
#[allow(clippy::match_like_matches_macro)]
|
167 |
Ok(match capability {
|
417 |
#[allow(clippy::match_like_matches_macro)]
|
418 |
Self {
|
49 |
{
|
50 |
#[allow(clippy::match_like_matches_macro)]
|
51 |
let is_code_or_data = match sym.st_type() {
|
132 |
#[allow(clippy::match_like_matches_macro)] // matches macro requires rust 1.42.0
|
133 |
fn retriable_error(err: &io::Error) -> bool {
|
336 |
#[allow(deprecated)] // trim_right_matches is now trim_end_matches
|
337 |
#[allow(clippy::match_like_matches_macro)] // matches macro requires rust 1.42.0
|
338 |
fn parse_version(version: &str) -> u64 {
|
140 |
#[allow(clippy::match_like_matches_macro)]
|
141 |
fn has_agency(&self) -> bool {
|
64 |
#[allow(clippy::match_like_matches_macro)]
|
65 |
fn has_agency(&self) -> bool {
|
5 |
impl Era {
|
6 |
#[allow(clippy::match_like_matches_macro)]
|
7 |
pub fn has_feature(&self, feature: Feature) -> bool {
|
154 |
// allow because it cannot be replaced when object feature is activated
|
155 |
#[allow(clippy::match_like_matches_macro)]
|
156 |
match self {
|
185 |
// allow because it cannot be replaced when object feature is activated
|
186 |
#[allow(clippy::match_like_matches_macro)]
|
187 |
match self {
|
3 |
#[allow(clippy::match_like_matches_macro)]
|
4 |
mod lexer;
|
78 |
#[allow(clippy::match_like_matches_macro)]
|
79 |
fn extract_secret_flag(bit_flags: u8) -> bool {
|
184 |
/// if the specified predicate returns true when passing image urls to it.
|
185 |
#[allow(clippy::match_like_matches_macro)] // requires minimum rustc version 1.42.0
|
186 |
pub fn remove_images_only_paragraph<P>(self, mut predicate: P) -> Self
|
470 |
#[allow(clippy::match_like_matches_macro)] // requires minimum rustc version 1.42.0
|
471 |
fn is_url_with_scheme(url: &str) -> bool {
|
471 |
ErrorRepr::IoError(ref err) => {
|
472 |
#[allow(clippy::match_like_matches_macro)]
|
473 |
match err.kind() {
|
44 |
fn matches(self, fields: &syn::Fields) -> bool {
|
45 |
#[allow(clippy::match_like_matches_macro)]
|
46 |
match (self, fields) {
|
144 |
impl<T> Locked for Mutex<T> {
|
145 |
#[allow(clippy::match_like_matches_macro)]
|
146 |
fn is_locked(&self) -> bool {
|
166 |
},
|
167 |
#[allow(clippy::match_like_matches_macro)]
|
168 |
Qspi => match alt {
|
30 |
pub fn is_unary(&self) -> bool {
|
31 |
#[allow(clippy::match_like_matches_macro)]
|
32 |
match self.clone() {
|
105 |
pub fn is_eof(&self) -> bool {
|
106 |
#[allow(clippy::match_like_matches_macro)]
|
107 |
match self {
|
122 |
pub fn can_be_multi_token_operator(&self) -> bool {
|
123 |
#[allow(clippy::match_like_matches_macro)]
|
124 |
match self {
|
373 |
/// Returns whether the format supports non-numerical metrics.
|
374 |
#[allow(clippy::match_like_matches_macro)]
|
375 |
pub fn allows_text(self) -> bool {
|
382 |
/// Returns whether this output format supports this metric type.
|
383 |
#[allow(clippy::match_like_matches_macro)]
|
384 |
pub fn supports_type(self, metric: MetricType) -> bool {
|
64 |
// not possible to use with associated values with different types
|
65 |
#[allow(clippy::match_like_matches_macro)]
|
66 |
match self {
|
81 |
// not possible to use with associated values with different types
|
82 |
#[allow(clippy::match_like_matches_macro)]
|
83 |
match self {
|
105 |
// not possible to use with associated values with different types
|
106 |
#[allow(clippy::match_like_matches_macro)]
|
107 |
match self {
|
121 |
// not possible to use with associated values with different types
|
122 |
#[allow(clippy::match_like_matches_macro)]
|
123 |
match self {
|
131 |
// not possible to use with associated values with different types
|
132 |
#[allow(clippy::match_like_matches_macro)]
|
133 |
match self {
|
154 |
#[allow(clippy::match_like_matches_macro)]
|
155 |
let hide_niche = match ty.kind() {
|
521 |
trace!("validating: {:?} {:?}", parts, kind);
|
522 |
#[allow(clippy::match_like_matches_macro)]
|
523 |
match (parts, kind) {
|
110 |
let subtype = self.subtype();
|
111 |
#[allow(clippy::match_like_matches_macro)]
|
112 |
match (self.type_(), subtype, subtype.as_str()) {
|
280 |
#[cfg(feature = "v1-stream")]
|
281 |
#[allow(clippy::match_like_matches_macro)]
|
282 |
pub fn is_stream(&self) -> bool {
|
521 |
trace!("validating: {:?} {:?}", parts, kind);
|
522 |
#[allow(clippy::match_like_matches_macro)]
|
523 |
match (parts, kind) {
|
92 |
#[allow(clippy::match_like_matches_macro)]
|
93 |
pub fn lex(mut self) -> Sql {
|
243 |
// It's more readable as a match
|
244 |
#[allow(clippy::match_like_matches_macro)]
|
245 |
match (db_error.code().as_deref(), db_error.constraint()) {
|
24 |
#[allow(clippy::match_like_matches_macro)]
|
25 |
impl StringError {
|
635 |
fn is_corporate_character(c: char) -> bool {
|
636 |
#[allow(clippy::match_like_matches_macro)]
|
637 |
match c {
|
219 |
/// <https://eprint.iacr.org/2017/806.pdf>
|
220 |
#[allow(clippy::match_same_arms, clippy::match_like_matches_macro)]
|
221 |
fn is_low_order_point(point: &EphemeralPublic) -> bool {
|
276 |
.filter(|(idx, _)| {
|
277 |
#[allow(clippy::match_like_matches_macro)]
|
278 |
match &stripped[..*idx].chars().next_back() {
|
217 |
let buffer = std::mem::replace(&mut this.buffer, POOL.alloc(INITIAL_CAPACITY));
|
218 |
#[allow(clippy::match_like_matches_macro)]
|
219 |
let mut needs_read = if let State::Chunk(_, _) = this.state {
|
169 |
#[allow(clippy::match_like_matches_macro)] // needs rustc 1.42
|
170 |
fn is_phantom_data(path: &syn::Path) -> bool {
|
158 |
/// Returns whether this command is valid.
|
159 |
#[allow(clippy::match_like_matches_macro)]
|
160 |
pub const fn is_valid(&self) -> bool {
|
167 |
/// Returns whether this command is invalid.
|
168 |
#[allow(clippy::match_like_matches_macro)]
|
169 |
pub const fn is_invalid(&self) -> bool {
|
466 |
#[allow(clippy::match_like_matches_macro)]
|
467 |
pub fn set_bool_option(handle: *mut VoikkoHandle, option: i32, value: bool) -> bool {
|
475 |
#[allow(clippy::match_like_matches_macro)]
|
476 |
pub fn set_int_option(handle: *mut VoikkoHandle, option: i32, value: i32) -> bool {
|
18 |
fn required_if_supported(name: &str) -> bool {
|
19 |
#[allow(clippy::match_like_matches_macro)]
|
20 |
match name {
|
222 |
/// ```
|
223 |
#[allow(clippy::match_like_matches_macro)]
|
224 |
pub const fn is_documentation(&self) -> bool {
|
515 |
trace!("validating: {:?} {:?}", parts, kind);
|
516 |
#[allow(clippy::match_like_matches_macro)]
|
517 |
match (parts, kind) {
|
37 |
clippy::suspicious_else_formatting,
|
38 |
clippy::match_like_matches_macro
|
39 |
)]
|
22 |
clippy::enum_variant_names,
|
23 |
clippy::match_like_matches_macro,
|
24 |
clippy::needless_pass_by_value,
|
312 |
clippy::manual_range_contains,
|
313 |
clippy::match_like_matches_macro,
|
314 |
clippy::match_single_binding,
|
389 |
fn accept_err_is_fatal(err: &IoError) -> bool {
|
390 |
#![allow(clippy::match_like_matches_macro)]
|
4 |
// We don't use syntax sugar where it's not necessary.
|
5 |
clippy::match_like_matches_macro,
|
6 |
// Redundant matching is more explicit.
|
120 |
clippy::manual_range_contains,
|
121 |
clippy::match_like_matches_macro,
|
122 |
clippy::missing_errors_doc,
|
1 |
#![allow(
|
2 |
clippy::match_like_matches_macro,
|
3 |
clippy::needless_pass_by_value,
|
6 |
clippy::single_match,
|
7 |
clippy::match_like_matches_macro
|
8 |
)]
|
2 |
// We don't use syntax sugar where it's not necessary.
|
3 |
clippy::match_like_matches_macro,
|
4 |
// Redundant matching is more explicit.
|
1 |
#![allow(clippy::write_with_newline)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
3 |
use std::collections::BTreeSet;
|
2 |
#![warn(missing_docs)]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
4 |
#![cfg_attr(feature = "nightly_portable_simd", feature(portable_simd))]
|
6 |
clippy::manual_strip,
|
7 |
clippy::match_like_matches_macro,
|
8 |
clippy::needless_borrow, // https://github.com/rust-lang/rust-clippy/issues/9710
|
18 |
clippy::unneeded_field_pattern,
|
19 |
clippy::match_like_matches_macro,
|
20 |
clippy::manual_strip,
|
4 |
#![doc(html_root_url = "https://docs.rs/cidr/0.2.1")]
|
5 |
#![allow(clippy::match_like_matches_macro)]
|
283 |
fn test_session_batching() {
|
284 |
#![allow(clippy::match_like_matches_macro)]
|
285 |
let envelopes = capture_envelopes(|| {
|
391 |
clippy::blocks_in_if_conditions,
|
392 |
clippy::match_like_matches_macro,
|
393 |
clippy::must_use_candidate,
|
2 |
#![deny(clippy::all, missing_docs, unsafe_code)]
|
3 |
#![allow(clippy::upper_case_acronyms, clippy::from_over_into, clippy::match_like_matches_macro)]
|
192 |
clippy::too_many_arguments,
|
193 |
clippy::match_like_matches_macro
|
194 |
)]
|
13 |
// limitations under the License.
|
14 |
#![allow(clippy::match_like_matches_macro)]
|
26 |
clippy::manual_strip,
|
27 |
clippy::match_like_matches_macro
|
28 |
)]
|
5 |
#![allow(clippy::unnecessary_wraps)]
|
6 |
#![allow(clippy::match_like_matches_macro)]
|
7 |
#![allow(clippy::needless_range_loop)]
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
37 |
clippy::suspicious_else_formatting,
|
38 |
clippy::match_like_matches_macro,
|
39 |
unstable_features
|
35 |
)]
|
36 |
#![allow(clippy::suspicious_else_formatting, clippy::match_like_matches_macro)]
|
37 |
clippy::suspicious_else_formatting,
|
38 |
clippy::match_like_matches_macro,
|
39 |
// (Hopefully) always manual checked
|
79 |
pub fn is_fatal(&self) -> bool {
|
80 |
#![allow(clippy::match_like_matches_macro)]
|
81 |
match self {
|
32 |
#![allow(clippy::unknown_clippy_lints)]
|
33 |
#![allow(clippy::match_like_matches_macro)]
|
68 |
// requires Rust >=1.42
|
69 |
#![allow(clippy::match_like_matches_macro)]
|
14 |
// FIXME: remove when and if our MSRV hits 1.42
|
15 |
#![allow(clippy::match_like_matches_macro)]
|
16 |
#![forbid(unsafe_code)]
|
237 |
// These lints suggest to use features not available in our MSRV.
|
238 |
#![allow(clippy::manual_strip, clippy::match_like_matches_macro)]
|
241 |
// These lints suggest to use features not available in our MSRV.
|
242 |
#![allow(clippy::manual_strip, clippy::match_like_matches_macro)]
|
10 |
// Allowed because the matches! macro is not supported in Rust 1.41.1, under which evsieve must compile.
|
11 |
#![allow(clippy::match_like_matches_macro)]
|
12 |
// Disallowed for code uniformity.
|
10 |
// Allowed because the matches! macro is not supported in Rust 1.41.1, under which evsieve must compile.
|
11 |
#![allow(clippy::match_like_matches_macro)]
|
12 |
// Disallowed for code uniformity.
|
4 |
// currently support 1.32+.
|
5 |
#![allow(clippy::match_like_matches_macro)]
|
6 |
// The `contains` method on ranges was stabilized in 1.35.
|
3 |
#![deny(unconditional_recursion)]
|
4 |
#![allow(clippy::match_like_matches_macro)]
|
5 |
#![no_std]
|
84 |
#![allow(clippy::manual_range_contains)]
|
85 |
#![allow(clippy::match_like_matches_macro)]
|
86 |
#![allow(clippy::needless_return)]
|
190 |
clippy::unneeded_field_pattern,
|
191 |
clippy::match_like_matches_macro,
|
192 |
clippy::if_same_then_else,
|
183 |
#![allow(
|
184 |
clippy::match_like_matches_macro,
|
185 |
clippy::await_holding_lock,
|
185 |
#![allow(
|
186 |
clippy::match_like_matches_macro,
|
187 |
clippy::await_holding_lock,
|
60 |
#![allow(clippy::comparison_chain)]
|
61 |
#![allow(clippy::match_like_matches_macro)]
|
62 |
#![allow(clippy::single_match)]
|
5 |
// We don't use syntax sugar where it's not necessary.
|
6 |
clippy::match_like_matches_macro,
|
7 |
// Redundant matching is more explicit.
|
6 |
// We don't use syntax sugar where it's not necessary.
|
7 |
clippy::match_like_matches_macro,
|
8 |
// Redundant matching is more explicit.
|
329 |
clippy::items_after_statements,
|
330 |
clippy::match_like_matches_macro,
|
331 |
clippy::match_same_arms,
|
1 |
#![allow(clippy::match_bool)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
11 |
clippy::use_self, // Rust 1.33 doesn't support Self::EnumVariant, let's try again in 1.37.
|
12 |
clippy::match_like_matches_macro, // MSRV is lower than what's needed for matches!
|
13 |
)]
|
241 |
clippy::manual_strip,
|
242 |
clippy::match_like_matches_macro,
|
243 |
clippy::needless_borrow
|
112 |
#![warn(clippy::all)]
|
113 |
#![allow(clippy::upper_case_acronyms, clippy::match_like_matches_macro)]
|
114 |
// Clippy's manual_range_contains suggestion produces worse codegen.
|
1 |
// SPDX-License-Identifier: MIT OR Apache-2.0
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
1 |
// SPDX-License-Identifier: MIT OR Apache-2.0
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
33 |
#![allow(clippy::cognitive_complexity)]
|
34 |
#![allow(clippy::match_like_matches_macro)]
|
35 |
#![allow(clippy::from_str_radix_10)]
|
21 |
// `matches!` available since 1.42, but we target 1.36 for now.
|
22 |
#![allow(clippy::match_like_matches_macro)]
|
223 |
#![allow(clippy::match_like_matches_macro)]
|
19 |
//#![warn(missing_docs)]
|
20 |
#![allow(clippy::match_like_matches_macro)]
|
16 |
//#![warn(missing_docs)]
|
17 |
#![allow(clippy::match_like_matches_macro)]
|
7 |
//#![warn(missing_docs)]
|
8 |
#![allow(clippy::match_like_matches_macro)]
|
167 |
#![allow(clippy::branches_sharing_code)]
|
168 |
#![allow(clippy::match_like_matches_macro)]
|
169 |
#![allow(clippy::type_complexity)]
|
1 |
#![allow(clippy::match_like_matches_macro)]
|
1 |
// TODO When we settle for a minimum version of Rust >= 1.42, remove this.
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
71 |
//! *_More feature will be added in the future_*
|
72 |
#![allow(clippy::match_like_matches_macro)]
|
73 |
#![cfg_attr(docsrs, feature(doc_cfg))]
|
1 |
#![allow(clippy::match_like_matches_macro)]
|
2 |
use clap::{Parser, Subcommand};
|
2 |
#![recursion_limit = "512"]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
3 |
#![allow(clippy::unnecessary_wraps)]
|
4 |
#![allow(clippy::match_like_matches_macro)]
|
5 |
#![allow(clippy::mutable_key_type)]
|
1 |
#![allow(clippy::mutable_key_type)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
1 |
#![allow(unsafe_code)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
28 |
clippy::manual_map,
|
29 |
clippy::match_like_matches_macro,
|
30 |
clippy::needless_pass_by_value,
|
22 |
clippy::enum_variant_names,
|
23 |
clippy::match_like_matches_macro,
|
24 |
clippy::needless_pass_by_value,
|
313 |
clippy::manual_range_contains,
|
314 |
clippy::match_like_matches_macro,
|
315 |
clippy::match_single_binding,
|
320 |
clippy::manual_range_contains,
|
321 |
clippy::match_like_matches_macro,
|
322 |
clippy::match_single_binding,
|
312 |
clippy::manual_range_contains,
|
313 |
clippy::match_like_matches_macro,
|
314 |
clippy::match_single_binding,
|
132 |
clippy::manual_assert,
|
133 |
clippy::match_like_matches_macro,
|
134 |
clippy::match_same_arms,
|
158 |
#![allow(clippy::mem_replace_with_default)] // Not using std::mem::take() due to MSRV of 1.37 (intro'd in 1.40)
|
159 |
#![allow(clippy::match_like_matches_macro)] // Not using std::matches! due to MSRV of 1.37 (intro'd in 1.42)
|
91 |
#![allow(clippy::match_like_matches_macro)]
|
92 |
#![allow(clippy::redundant_field_names)]
|
381 |
#![allow(clippy::len_without_is_empty)]
|
382 |
#![allow(clippy::match_like_matches_macro)]
|
383 |
#![allow(clippy::new_without_default)]
|
14 |
// FIXME: remove when and if our MSRV hits 1.42
|
15 |
#![allow(clippy::match_like_matches_macro)]
|
16 |
#![forbid(unsafe_code)]
|
2 |
#![deny(clippy::all)]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
4 |
#![allow(clippy::needless_update)]
|
1 |
#![allow(clippy::match_like_matches_macro)]
|
3 |
#![deny(unused)]
|
4 |
#![allow(clippy::match_like_matches_macro)]
|
5 |
#![allow(clippy::nonminimal_bool)]
|
37 |
#![allow(unstable_name_collisions)]
|
38 |
#![allow(clippy::match_like_matches_macro)]
|
125 |
#![allow(clippy::wrong_self_convention)]
|
126 |
#![allow(clippy::match_like_matches_macro)]
|
4 |
#![allow(clippy::boxed_local)]
|
5 |
#![allow(clippy::match_like_matches_macro)]
|
2 |
#![deny(unused)]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
2 |
#![allow(clippy::boxed_local)]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
4 |
#![allow(clippy::vec_box)]
|
2 |
#![allow(clippy::needless_update)]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
6 |
#![allow(clippy::wrong_self_convention)]
|
7 |
#![allow(clippy::match_like_matches_macro)]
|
3 |
clippy::manual_non_exhaustive,
|
4 |
clippy::match_like_matches_macro
|
5 |
)] // Kill clippy for MSRV
|
91 |
#![deny(rust_2018_idioms)]
|
92 |
#![allow(clippy::match_like_matches_macro)]
|
81 |
// introduced in recent Rust 1.42. This library should support older Rust.
|
82 |
#![allow(clippy::match_like_matches_macro)]
|
218 |
// TODO: Remove this once the MSRV bumps to 1.42.0 or above.
|
219 |
clippy::match_like_matches_macro,
|
220 |
clippy::type_complexity
|
219 |
clippy::manual_range_contains,
|
220 |
clippy::match_like_matches_macro,
|
221 |
clippy::module_name_repetitions,
|
1 |
#![cfg_attr(test, allow(dead_code, unused_imports))]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
3 |
use clap::{Arg, Command};
|
6 |
#![deny(clippy::correctness)]
|
7 |
#![allow(clippy::match_like_matches_macro)]
|
5 |
// the matches! macro is obscure and not widely known.
|
6 |
#![allow(clippy::match_like_matches_macro)]
|
7 |
// we're not changing public api due to a lint.
|
39 |
clippy::useless_format,
|
40 |
clippy::match_like_matches_macro,
|
41 |
clippy::needless_update,
|
4 |
#![warn(clippy::cargo)]
|
5 |
#![allow(clippy::match_like_matches_macro)]
|
6 |
#![allow(clippy::needless_late_init)]
|
158 |
#![allow(clippy::mem_replace_with_default)] // Not using std::mem::take() due to MSRV of 1.37 (intro'd in 1.40)
|
159 |
#![allow(clippy::match_like_matches_macro)] // Not using std::matches! due to MSRV of 1.37 (intro'd in 1.42)
|
12 |
// We don't use syntax sugar where it's not necessary.
|
13 |
clippy::match_like_matches_macro,
|
14 |
// Redundant matching is more explicit.
|
23 |
// We don't use syntax sugar where it's not necessary.
|
24 |
clippy::match_like_matches_macro,
|
25 |
// Redundant matching is more explicit.
|
7 |
// We don't use syntax sugar where it's not necessary.
|
8 |
clippy::match_like_matches_macro,
|
9 |
)]
|
91 |
#![allow(clippy::match_like_matches_macro)]
|
92 |
#![allow(clippy::redundant_field_names)]
|
5 |
clippy::match_on_vec_items,
|
6 |
clippy::match_like_matches_macro,
|
7 |
clippy::collapsible_match,
|