243 |
// needed because of non_exhaustive together with `clippy::wildcard_enum_match_arm`
|
244 |
#[allow(clippy::wildcard_in_or_patterns)]
|
245 |
match data.data_type() {
|
159 |
pub(crate) fn from_code(code: u16, msg: Option<&str>) -> Self {
|
160 |
#[allow(clippy::wildcard_in_or_patterns)]
|
161 |
match code {
|
1001 |
#[allow(clippy::wildcard_in_or_patterns)]
|
1002 |
match rel.kind {
|
27 |
};
|
28 |
#[allow(clippy::wildcard_in_or_patterns)]
|
29 |
match exe_name.as_bytes() {
|
76 |
#[allow(clippy::wildcard_in_or_patterns)]
|
77 |
fn affinity_to_type(affinity: u8) -> DataType {
|
89 |
#[allow(clippy::wildcard_in_or_patterns)]
|
90 |
fn opcode_to_type(op: &str) -> DataType {
|
283 |
#[allow(clippy::wildcard_in_or_patterns)]
|
284 |
pub fn from_reader<R: Read>(source: &mut R) -> Result<Self> {
|
351 |
#[allow(clippy::wildcard_in_or_patterns)]
|
352 |
fn parse_self_ty(self_ty: &Type) -> ExtType {
|
510 |
#[allow(clippy::wildcard_in_or_patterns)]
|
511 |
fn extract_allowed_items(items: &[ImplItem]) -> MethodsAndConsts {
|
267 |
#[allow(clippy::wildcard_in_or_patterns)]
|
268 |
match err.kind() {
|
568 |
// For the colorimetry mapping below
|
569 |
#[allow(clippy::wildcard_in_or_patterns)]
|
570 |
fn set_format(
|
42 |
#[allow(clippy::wildcard_in_or_patterns)]
|
43 |
match res {
|
125 |
#[allow(clippy::wildcard_in_or_patterns)]
|
126 |
match res {
|
157 |
#[allow(clippy::wildcard_in_or_patterns)]
|
158 |
match res {
|
525 |
if let Some(i) = template.find(|c| c == '{' || c == '}') {
|
526 |
#[allow(clippy::wildcard_in_or_patterns)]
|
527 |
match template.as_bytes()[i] {
|
156 |
pub fn must_be_processed(&self) -> OptionMustBeProcessed {
|
157 |
#[allow(clippy::wildcard_in_or_patterns)] // will only ever be 0 or 1
|
158 |
match self.0 & 0b1 {
|
166 |
pub fn when_unsupported_by_proxy(&self) -> WhenOptionUnsupportedByProxy {
|
167 |
#[allow(clippy::wildcard_in_or_patterns)] // will only ever be 0 or 1
|
168 |
match (self.0 & 0b10) >> 1 {
|
401 |
/// *C style function: [ncdirect_check_pixel_support()][c_api::ncdirect_check-pixel_support].*
|
402 |
#[allow(clippy::wildcard_in_or_patterns)]
|
403 |
pub fn check_pixel_support(&self) -> NcResult<bool> {
|
264 |
/// *C style function: [notcurses_check_pixel_support()][c_api::notcurses_check_pixel_support].*
|
265 |
#[allow(clippy::wildcard_in_or_patterns)]
|
266 |
pub fn check_pixel_support(&self) -> NcPixelImpl {
|
9 |
/// are mapped to SPACE (empty).
|
10 |
#[allow(clippy::wildcard_in_or_patterns)]
|
11 |
pub const fn encode_char(c: char) -> SingleDisplayData {
|
101 |
#[allow(clippy::wildcard_in_or_patterns)]
|
102 |
impl<'a, 'b> WriteAst<Type> for TypeWriter<'a, 'b> {
|
142 |
#[allow(clippy::wildcard_in_or_patterns)]
|
143 |
impl<'a, 'b> WriteAst<Expr> for TypeWriter<'a, 'b> {
|
77 |
// Explicit statements on "h"/"help" options is more convenient, as we have such commands.
|
78 |
#[allow(clippy::wildcard_in_or_patterns)]
|
79 |
match args.next() {
|
172 |
#[allow(clippy::wildcard_in_or_patterns)]
|
173 |
fn from_options(color: &str) -> Self {
|
172 |
#[allow(clippy::wildcard_in_or_patterns)]
|
173 |
fn from_options(color: &str) -> Self {
|
231 |
#[allow(clippy::wildcard_in_or_patterns)]
|
232 |
fn affinity_to_type(affinity: u8) -> DataType {
|
244 |
#[allow(clippy::wildcard_in_or_patterns)]
|
245 |
fn opcode_to_type(op: &str) -> DataType {
|
231 |
#[allow(clippy::wildcard_in_or_patterns)]
|
232 |
fn affinity_to_type(affinity: u8) -> DataType {
|
244 |
#[allow(clippy::wildcard_in_or_patterns)]
|
245 |
fn opcode_to_type(op: &str) -> DataType {
|
381 |
/// Get the priority level.
|
382 |
#[allow(clippy::wildcard_in_or_patterns)]
|
383 |
pub const fn priority(&self) -> Priority {
|
106 |
impl Literal {
|
107 |
#[allow(clippy::wildcard_in_or_patterns)]
|
108 |
pub(crate) fn handle_parse_int_error(
|
71 |
} else {
|
72 |
#[allow(clippy::wildcard_in_or_patterns)]
|
73 |
let flags = match cmd.deref() {
|
391 |
pub fn must_be_processed(&self) -> OptionMustBeProcessed {
|
392 |
#[allow(clippy::wildcard_in_or_patterns)] // will only ever be 0 or 1
|
393 |
match self.0 & 0b1 {
|
401 |
pub fn when_unsupported_by_proxy(&self) -> WhenOptionUnsupportedByProxy {
|
402 |
#[allow(clippy::wildcard_in_or_patterns)] // will only ever be 0 or 1
|
403 |
match (self.0 & 0b10) >> 1 {
|
216 |
{
|
217 |
#[allow(clippy::wildcard_in_or_patterns)]
|
218 |
match errno {
|
284 |
//
|
285 |
#[ allow( unreachable_patterns, clippy::wildcard_in_or_patterns )]
|
286 |
//
|
514 |
//
|
515 |
#[ allow( unreachable_patterns, clippy::wildcard_in_or_patterns )]
|
516 |
//
|
27 |
clippy::used_underscore_binding,
|
28 |
clippy::wildcard_in_or_patterns,
|
29 |
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
17 |
#![allow(non_camel_case_types, non_upper_case_globals)]
|
18 |
#![allow(clippy::wildcard_in_or_patterns, clippy::not_unsafe_ptr_arg_deref)]
|
20 |
clippy::not_unsafe_ptr_arg_deref,
|
21 |
clippy::wildcard_in_or_patterns,
|
22 |
clippy::missing_safety_doc
|
18 |
#![allow(clippy::not_unsafe_ptr_arg_deref)]
|
19 |
#![allow(clippy::wildcard_in_or_patterns)]
|
17 |
#![allow(non_camel_case_types)]
|
18 |
#![allow(clippy::wildcard_in_or_patterns)]
|
17 |
#![allow(non_camel_case_types)]
|
18 |
#![allow(clippy::not_unsafe_ptr_arg_deref, clippy::wildcard_in_or_patterns)]
|
17 |
#![allow(non_camel_case_types, deprecated)]
|
18 |
#![allow(clippy::not_unsafe_ptr_arg_deref, clippy::wildcard_in_or_patterns)]
|
1 |
#![allow(clippy::wildcard_in_or_patterns)]
|
7 |
// This is a bad lint
|
8 |
#![allow(clippy::wildcard_in_or_patterns)]
|
33 |
clippy::used_underscore_binding,
|
34 |
clippy::wildcard_in_or_patterns,
|
35 |
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
13 |
clippy::trivially_copy_pass_by_ref,
|
14 |
clippy::wildcard_in_or_patterns,
|
15 |
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
27 |
clippy::used_underscore_binding,
|
28 |
clippy::wildcard_in_or_patterns,
|
29 |
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
156 |
clippy::unsafe_removed_from_name,
|
157 |
clippy::wildcard_in_or_patterns,
|
158 |
// noisy
|