| 114 | /// | 
| 115 | #[allow(clippy::cmp_owned)] | 
| 116 | pub fn wasm_client(input: WasmClientInput) -> TokenStream { | 
| 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) { | 
| 245 |     #[allow(clippy::cmp_owned)] | 
| 246 |     #[test] | 
| 122 | #[allow(clippy::cmp_owned)] | 
| 123 | pub fn parse_rust_type(ty: &'_ syn::Type) -> RustType<'_> { | 
| 112 | impl<'a> PartialEq<&'a str> for Destination { | 
| 113 |     #[allow(clippy::cmp_owned)] | 
| 114 |     fn eq(&self, other: &&'a str) -> bool { | 
| 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 { | 
| 15 |         // Clippy suggests *cow.ident, which doesn't work | 
| 16 |         #[allow(clippy::cmp_owned)] | 
| 17 |         if token_ref.ident.to_string() == "TokenReference" { | 
| 455 |     #[allow(clippy::useless_conversion)] | 
| 456 |     #[allow(clippy::cmp_owned)] | 
| 457 |     pub fn build_args(&self) -> ChannelArgs { | 
| 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 { | 
| 19 | #[allow(clippy::cmp_owned, clippy::eq_op)] | 
| 20 | #[test] | 
| 31 | #[allow(clippy::cmp_owned)] | 
| 32 | #[test] | 
| 61 | #[allow(clippy::cmp_owned, clippy::trait_duplication_in_bounds)] | 
| 62 | fn partial_eq_primitive_float_properties_helper< | 
| 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< | 
| 32 | #[allow(clippy::cmp_owned, clippy::useless_conversion)] | 
| 33 | #[test] | 
| 69 | #[allow(clippy::cmp_owned, clippy::useless_conversion)] | 
| 70 | #[test] | 
| 17 | #[allow(clippy::cmp_owned, clippy::eq_op)] | 
| 18 | #[test] | 
| 45 | #[allow(clippy::cmp_owned, clippy::trait_duplication_in_bounds)] | 
| 46 | fn partial_eq_primitive_float_properties_helper< | 
| 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< | 
| 40 | #[allow(clippy::cmp_owned, clippy::eq_op)] | 
| 41 | #[test] | 
| 41 | #[allow(clippy::cmp_owned)] | 
| 42 | #[test] | 
| 35 | #[allow(clippy::cmp_owned)] | 
| 36 | #[test] | 
| 45 | #[allow(clippy::cmp_owned, clippy::trait_duplication_in_bounds)] | 
| 46 | fn partial_eq_primitive_float_properties_helper< | 
| 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< | 
| 54 |     // Handling no searching result cases | 
| 55 |     #[allow(clippy::cmp_owned)] | 
| 56 |     if result.to_string() == "null" { | 
| 447 | #[allow( | 
| 448 |     clippy::cmp_owned, | 
| 449 |     clippy::redundant_slicing, | 
| 164 |     #[allow(clippy::cmp_owned)] | 
| 165 |     pub fn build_arg_list( | 
| 163 |     #[allow(clippy::cmp_owned)] | 
| 164 |     pub fn build_arg_list( | 
| 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 { | 
| 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 { | 
| 7 | #[test] | 
| 8 | #[allow(clippy::cmp_owned)] | 
| 9 | #[cfg_attr(miri, ignore)] | 
| 158 | #[test] | 
| 159 | #[allow(clippy::cmp_owned)] // seems buggy | 
| 160 | fn deserialize_avatar_without_prev_content() { | 
| 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) { | 
| 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 { | 
| 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 { | 
| 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 { | 
| 5 |     // with owned instacnces. | 
| 6 |     clippy::cmp_owned, | 
| 7 | )] | 
| 5 |     // with owned instacnces. | 
| 6 |     clippy::cmp_owned, | 
| 7 |     // Deliberate | 
| 1 | #![allow(clippy::cmp_owned)] | 
| 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 | 
| 2 | #![forbid(unsafe_code)] | 
| 3 | #![allow(clippy::cmp_owned)] | 
| 3 | #![allow(clippy::cmp_owned)] | 
| 1 | // FIXME: this should be fixed in some way to avoid useless allocations | 
| 2 | #![allow(clippy::cmp_owned)] | 
| 3 | #![allow(clippy::enum_variant_names)] | 
| 231 | mod tests { | 
| 232 |     #![allow(clippy::cmp_owned)] |