• artemis_codegen 0.1.0/src/wasm.rs
    114
    ///
    115
    #[allow(clippy::cmp_owned)]
    116
    pub fn wasm_client(input: WasmClientInput) -> TokenStream {
  • async-backtrace-attributes 0.2.2/src/expand.rs
    375
        // If we apply clippy's lint, the behavior changes
    376
        #[allow(clippy::cmp_owned)]
    377
        fn visit_ident_mut(&mut self, id: &mut Ident) {
  • csvsc 2.2.1/src/adjacent_group.rs
    245
        #[allow(clippy::cmp_owned)]
    246
        #[test]
  • cynic-codegen 2.2.4/src/types/parsing.rs
    122
    #[allow(clippy::cmp_owned)]
    123
    pub fn parse_rust_type(ty: &'_ syn::Type) -> RustType<'_> {
  • distant-net 0.20.0-alpha.3/src/common/destination.rs
    112
    impl<'a> PartialEq<&'a str> for Destination {
    113
        #[allow(clippy::cmp_owned)]
    114
        fn eq(&self, other: &&'a str) -> bool {
  • enso-flexer 0.2.0/src/generate.rs
    410
    /// Checks if the given `expr` is a  call with a single argument "reader" being passed.
    411
    #[allow(clippy::cmp_owned)]
    412
    pub fn has_reader_arg(expr:&Expr) -> bool {
  • full_moon_derive 0.11.0/src/node.rs
    15
            // Clippy suggests *cow.ident, which doesn't work
    16
            #[allow(clippy::cmp_owned)]
    17
            if token_ref.ident.to_string() == "TokenReference" {
  • grpcio 0.12.0/src/channel.rs
    455
        #[allow(clippy::useless_conversion)]
    456
        #[allow(clippy::cmp_owned)]
    457
        pub fn build_args(&self) -> ChannelArgs {
  • influxdb_derive 0.5.0/src/writeable.rs
    81
        let time_field = format_ident!("time");
    82
        #[allow(clippy::cmp_owned)] // that's not how idents work clippy
    83
        let fields: Vec<TokenStream2> = match input.fields {
  • malachite-nz 0.3.2/tests/integer/comparison/eq.rs
    19
    #[allow(clippy::cmp_owned, clippy::eq_op)]
    20
    #[test]
  • malachite-nz 0.3.2/tests/integer/comparison/partial_eq_natural.rs
    31
    #[allow(clippy::cmp_owned)]
    32
    #[test]
  • malachite-nz 0.3.2/tests/integer/comparison/partial_eq_primitive_float.rs
    61
    #[allow(clippy::cmp_owned, clippy::trait_duplication_in_bounds)]
    62
    fn partial_eq_primitive_float_properties_helper<
  • malachite-nz 0.3.2/tests/integer/comparison/partial_eq_primitive_int.rs
    113
    // Extra refs necessary for type inference
    114
    #[allow(clippy::cmp_owned, clippy::op_ref, clippy::trait_duplication_in_bounds)]
    115
    fn partial_eq_primitive_int_properties_helper_unsigned<
    140
    // Extra refs necessary for type inference
    141
    #[allow(clippy::cmp_owned, clippy::op_ref, clippy::trait_duplication_in_bounds)]
    142
    fn partial_eq_primitive_int_properties_helper_signed<
  • malachite-nz 0.3.2/tests/integer/logic/trailing_zeros.rs
    32
    #[allow(clippy::cmp_owned, clippy::useless_conversion)]
    33
    #[test]
  • malachite-nz 0.3.2/tests/natural/arithmetic/is_power_of_2.rs
    69
    #[allow(clippy::cmp_owned, clippy::useless_conversion)]
    70
    #[test]
  • malachite-nz 0.3.2/tests/natural/comparison/eq.rs
    17
    #[allow(clippy::cmp_owned, clippy::eq_op)]
    18
    #[test]
  • malachite-nz 0.3.2/tests/natural/comparison/partial_eq_primitive_float.rs
    45
    #[allow(clippy::cmp_owned, clippy::trait_duplication_in_bounds)]
    46
    fn partial_eq_primitive_float_properties_helper<
  • malachite-nz 0.3.2/tests/natural/comparison/partial_eq_primitive_int.rs
    90
    // Extra refs necessary for type inference
    91
    #[allow(clippy::cmp_owned, clippy::op_ref, clippy::trait_duplication_in_bounds)]
    92
    fn partial_eq_primitive_int_properties_helper_unsigned<
  • malachite-q 0.3.2/tests/comparison/eq.rs
    40
    #[allow(clippy::cmp_owned, clippy::eq_op)]
    41
    #[test]
  • malachite-q 0.3.2/tests/comparison/partial_eq_integer.rs
    41
    #[allow(clippy::cmp_owned)]
    42
    #[test]
  • malachite-q 0.3.2/tests/comparison/partial_eq_natural.rs
    35
    #[allow(clippy::cmp_owned)]
    36
    #[test]
  • malachite-q 0.3.2/tests/comparison/partial_eq_primitive_float.rs
    45
    #[allow(clippy::cmp_owned, clippy::trait_duplication_in_bounds)]
    46
    fn partial_eq_primitive_float_properties_helper<
  • malachite-q 0.3.2/tests/comparison/partial_eq_primitive_int.rs
    115
    // Extra refs necessary for type inference
    116
    #[allow(clippy::cmp_owned, clippy::op_ref, clippy::trait_duplication_in_bounds)]
    117
    fn partial_eq_primitive_int_properties_helper_unsigned<
    140
    // Extra refs necessary for type inference
    141
    #[allow(clippy::cmp_owned, clippy::op_ref, clippy::trait_duplication_in_bounds)]
    142
    fn partial_eq_primitive_int_properties_helper_signed<
  • musd 0.2.1/src/lib.rs
    54
        // Handling no searching result cases
    55
        #[allow(clippy::cmp_owned)]
    56
        if result.to_string() == "null" {
  • ntex-bytes 0.1.19/tests/test_bytes.rs
    447
    #[allow(
    448
        clippy::cmp_owned,
    449
        clippy::redundant_slicing,
  • pgx-macros 0.7.0/src/rewriter.rs
    164
        #[allow(clippy::cmp_owned)]
    165
        pub fn build_arg_list(
  • pgx-utils 0.6.1/src/rewriter.rs
    163
        #[allow(clippy::cmp_owned)]
    164
        pub fn build_arg_list(
  • rend3-pbr 0.2.2/src/material.rs
    436
    #[allow(clippy::cmp_owned)] // This thinks making a temporary TransparencyType is the end of the world
    437
    impl PartialEq<Transparency> for TransparencyType {
    443
    #[allow(clippy::cmp_owned)]
    444
    impl PartialEq<TransparencyType> for Transparency {
  • rend3-routine 0.3.0/src/pbr/material.rs
    459
    #[allow(clippy::cmp_owned)] // This thinks making a temporary TransparencyType is the end of the world
    460
    impl PartialEq<Transparency> for TransparencyType {
    466
    #[allow(clippy::cmp_owned)]
    467
    impl PartialEq<TransparencyType> for Transparency {
  • ropey 1.5.1/tests/non_ascii_comparison.rs
    7
    #[test]
    8
    #[allow(clippy::cmp_owned)]
    9
    #[cfg_attr(miri, ignore)]
  • ruma-events 0.26.1/tests/state_event.rs
    158
    #[test]
    159
    #[allow(clippy::cmp_owned)] // seems buggy
    160
    fn deserialize_avatar_without_prev_content() {
  • tracing-attributes 0.1.23/src/expand.rs
    758
        // If we apply clippy's lint, the behavior changes
    759
        #[allow(clippy::cmp_owned)]
    760
        fn visit_ident_mut(&mut self, id: &mut Ident) {
  • vimwiki-core 0.1.0/src/lang/elements/blocks/definitions.rs
    82
    impl<'a> PartialEq for DefinitionListValue<'a> {
    83
        #[allow(clippy::cmp_owned)]
    84
        fn eq(&self, other: &Self) -> bool {
    89
    impl<'a, 'b> PartialEq<InlineElementContainer<'b>> for DefinitionListValue<'a> {
    90
        #[allow(clippy::cmp_owned)]
    91
        fn eq(&self, other: &InlineElementContainer<'b>) -> bool {
  • virtue 0.0.11/src/utils.rs
    49
        if let Some(TokenTree::Ident(attribute_ident)) = stream.next() {
    50
            #[allow(clippy::cmp_owned)] // clippy is wrong
    51
            if attribute_ident.to_string() == prefix {
  • zproto 0.2.1/src/binary.rs
    395
        // false positive in this case.
    396
        #[allow(clippy::cmp_owned)]
    397
        fn eq(&self, other: &f32) -> bool {
    404
        // false positive in this case.
    405
        #[allow(clippy::cmp_owned)]
    406
        fn eq(&self, other: &Version) -> bool {
  • arcstr 1.1.5/tests/arc_str.rs
    5
        // with owned instacnces.
    6
        clippy::cmp_owned,
    7
    )]
  • arcstr 1.1.5/tests/substr.rs
    5
        // with owned instacnces.
    6
        clippy::cmp_owned,
    7
        // Deliberate
  • dashu-int 0.3.1/tests/cmp.rs
    1
    #![allow(clippy::cmp_owned)]
  • encode_unicode 1.0.0/src/lib.rs
    50
        clippy::many_single_char_names,// the variables are in different scopes
    51
        clippy::cmp_owned,// smaller than pointer, and no allocations anyway
    52
        clippy::wrong_self_convention,// smaller than pointer
  • libreddit 0.28.1/src/main.rs
    2
    #![forbid(unsafe_code)]
    3
    #![allow(clippy::cmp_owned)]
  • muta-apm-derive 0.1.0/src/lib.rs
    3
    #![allow(clippy::cmp_owned)]
  • rust-code-analysis 0.0.25/src/languages/mod.rs
    1
    // FIXME: this should be fixed in some way to avoid useless allocations
    2
    #![allow(clippy::cmp_owned)]
    3
    #![allow(clippy::enum_variant_names)]
  • strchunk 0.4.1/src/impls.rs
    231
    mod tests {
    232
        #![allow(clippy::cmp_owned)]