• abi_stable 0.11.1/src/std_types/arc/test.rs
    68
    // testing that Arc<()> is valid
    69
    #[allow(clippy::unit_cmp)]
    70
    #[test]
  • abi_stable 0.11.1/src/std_types/tuple.rs
    212
        #[test]
    213
        #[allow(clippy::unit_cmp)]
    214
        fn value_macro() {
  • actix 0.13.0/tests/derive.rs
    23
    #[test]
    24
    #[allow(clippy::unit_cmp)]
    25
    fn response_derive_empty() {
  • actix-rt 2.8.0/tests/tests.rs
    326
    #[allow(clippy::unit_cmp)]
    327
    #[test]
  • actori 0.9.0/tests/derive.rs
    22
    #[test]
    23
    #[cfg_attr(feature = "cargo-clippy", allow(unit_cmp))]
    24
    fn response_derive_empty() {
  • binary-layout 3.1.3/src/fields/primitive/copy_access.rs
    974
        #[allow(clippy::unit_cmp)]
    975
        #[test]
    996
        #[allow(clippy::unit_cmp)]
    997
        #[test]
  • bonsaidb-core 0.4.1/src/key.rs
    1025
    #[test]
    1026
    #[allow(clippy::unit_cmp)] // this is more of a compilation test
    1027
    fn unit_key_encoding_tests() -> anyhow::Result<()> {
    1033
    #[test]
    1034
    #[allow(clippy::unit_cmp)] // this is more of a compilation test
    1035
    fn bool_key_encoding_tests() -> anyhow::Result<()> {
  • cw-storage-plus 1.0.1/src/de.rs
    162
        #[test]
    163
        #[allow(clippy::unit_cmp)]
    164
        fn deserialize_empty_works() {
  • deku 0.15.1/src/impls/unit.rs
    30
        #[allow(clippy::unit_arg)]
    31
        #[allow(clippy::unit_cmp)]
    32
        fn test_unit() {
  • ein-ffi 0.6.0/src/arc/mod.rs
    97
            #[test]
    98
            #[allow(clippy::unit_cmp)]
    99
            fn load_payload() {
  • esl 0.17.1/src/code/de.rs
    546
        #[allow(clippy::unit_cmp)]
    547
        #[test]
  • gapbuf 0.1.4/tests/tests.rs
    871
    #[test]
    872
    #[allow(clippy::unit_cmp)]
    873
    fn zero_sized_type() {
  • governor 0.5.1/tests/sinks.rs
    14
    #[test]
    15
    #[allow(clippy::unit_cmp)]
    16
    fn sink() {
    50
    #[cfg_attr(feature = "jitter", test)]
    51
    #[allow(clippy::unit_cmp)]
    52
    fn sink_with_jitter() {
  • handle 1.0.2/src/lib.rs
    121
    #[cfg(test)]
    122
    #[allow(clippy::unit_cmp)]
    123
    mod tests {
  • libipld-core 0.16.0/tests/serde_deserializer.rs
    57
    #[test]
    58
    #[allow(clippy::unit_cmp)]
    59
    #[allow(clippy::let_unit_value)]
  • lurk-ipld-core 0.3.0/tests/serde_deserializer.rs
    56
    #[test]
    57
    #[allow(clippy::unit_cmp)]
    58
    #[allow(clippy::let_unit_value)]
  • ntex-io 0.2.9/src/ioref.rs
    340
        #[ntex::test]
    341
        #[allow(clippy::unit_cmp)]
    342
        async fn on_disconnect() {
  • ntex-router 0.5.1/src/de.rs
    539
        #[test]
    540
        #[allow(clippy::let_unit_value, clippy::unit_cmp)]
    541
        fn test_request_extract() {
  • ntex-util 0.2.0/src/channel/condition.rs
    108
        #[ntex_macros::rt_test2]
    109
        #[allow(clippy::unit_cmp)]
    110
        async fn test_condition() {
  • pen-ffi 0.10.8/src/arc.rs
    158
            #[test]
    159
            #[allow(clippy::unit_cmp)]
    160
            fn load_payload() {
  • pliantdb-core 0.1.0-dev-2/src/schema/view/map.rs
    249
    #[test]
    250
    #[allow(clippy::unit_cmp)] // this is more of a compilation test
    251
    fn unit_key_encoding_tests() -> anyhow::Result<()> {
  • qcheck 1.0.0/src/arbitrary.rs
    1167
    #[cfg(test)]
    1168
    #[allow(clippy::unit_cmp)]
    1169
    mod test {
  • quickcheck2 2.0.0/src/arbitrary.rs
    1167
    #[cfg(test)]
    1168
    #[allow(clippy::unit_cmp)]
    1169
    mod test {
  • relearn 0.3.1/src/torch/tensors/exclusive.rs
    401
        #[test]
    402
        #[allow(clippy::unit_cmp)]
    403
        fn array_view_i64_scalar() {
  • requiem 0.9.0/tests/derive.rs
    22
    #[test]
    23
    #[cfg_attr(feature = "cargo-clippy", allow(unit_cmp))]
    24
    fn response_derive_empty() {
  • scrappy-actor 0.0.1/tests/derive.rs
    22
    #[test]
    23
    #[cfg_attr(feature = "cargo-clippy", allow(unit_cmp))]
    24
    fn response_derive_empty() {
  • semval 0.5.0/src/util.rs
    149
        #[test]
    150
        #[allow(clippy::unit_cmp)]
    151
        fn unit_mergeable() {
  • serde-json-wasm 0.5.0/src/de/mod.rs
    808
        #[allow(clippy::let_unit_value)]
    809
        #[allow(clippy::unit_cmp)]
    810
        #[test]
  • usb_enumeration 0.2.0/src/macos.rs
    26
            #[allow(clippy::unit_cmp)]
    27
            while (device = IOIteratorNext(iter)) == () && device > 0 {
  • usbenum 0.1.0/src/platforms/macos.rs
    27
            #[allow(clippy::unit_cmp)]
    28
            while (device = IOIteratorNext(iter)) == () && device > 0 {
  • viz-core 0.5.0-rc.2/src/types/params/de.rs
    577
        #[test]
    578
        #[allow(clippy::let_unit_value, clippy::unit_cmp)]
    579
        fn test_request_extract() {
  • zerocopy 0.7.0-alpha.2/src/lib.rs
    2389
                // when running under Miri.
    2390
                #[allow(clippy::unit_cmp)]
    2391
                {
    2417
                // when running under Miri.
    2418
                #[allow(clippy::unit_cmp)]
    2419
                {
    3327
            // running under Miri.
    3328
            #[allow(clippy::unit_cmp)]
    3329
            {
  • arber 0.2.0/src/store_tests.rs
    22
    fn append_works() {
    23
        #![allow(clippy::unit_cmp)]
  • cxx 1.0.88/tests/test.rs
    7
        clippy::needless_pass_by_value,
    8
        clippy::unit_cmp,
    9
        clippy::unseparated_literal_suffix
  • daml-macro 0.2.2/src/lib.rs
    7
    #![warn(clippy::all, clippy::pedantic, clippy::nursery, rust_2018_idioms)]
    8
    #![allow(clippy::module_name_repetitions, clippy::shadow_unrelated, clippy::unit_cmp)]
    9
    #![forbid(unsafe_code)]
  • dangerous 0.10.0/tests/test_input.rs
    1
    #![allow(clippy::unit_cmp)]
  • dangerous 0.10.0/tests/test_reader.rs
    1
    #![allow(clippy::unit_cmp)]
  • legion 0.4.0/src/internals/cons.rs
    129
        fn cons_macro() {
    130
            #![allow(clippy::unit_cmp)]
    131
            assert_eq!(cons!(), ());
    155
        fn cons_flatten() {
    156
            #![allow(clippy::unit_cmp)]
    157
            assert_eq!(().flatten(), ());
  • legion-core 0.2.4/src/cons.rs
    123
        fn cons_macro() {
    124
            #![allow(clippy::unit_cmp)]
    125
            assert_eq!(cons!(), ());
    149
        fn cons_flatten() {
    150
            #![allow(clippy::unit_cmp)]
    151
            assert_eq!(().flatten(), ());
  • lockpool 3.0.1/src/never.rs
    38
        fn test_infallible_unwrap() {
    39
            #![allow(clippy::unit_cmp)]
  • millennium-webview 1.0.0-beta.3/src/lib.rs
    87
    #![allow(clippy::type_complexity)]
    88
    #![allow(clippy::unit_cmp)]
    89
    #![allow(clippy::upper_case_acronyms)]
  • serde_dynamo 4.0.12/src/de/tests.rs
    1
    #![allow(clippy::float_cmp, clippy::redundant_clone, clippy::unit_cmp)]
  • tuplestructops 0.3.0/src/test.rs
    1
    #![allow(clippy::unit_cmp, clippy::just_underscores_and_digits)]
  • UWUWUW 0.13.4/src/lib.rs
    80
    #![allow(clippy::type_complexity)]
    81
    #![allow(clippy::unit_cmp)]
    82
    #![allow(clippy::upper_case_acronyms)]
  • wry 0.26.0/src/lib.rs
    79
    #![allow(clippy::type_complexity)]
    80
    #![allow(clippy::unit_cmp)]
    81
    #![allow(clippy::upper_case_acronyms)]