• airsim-client 0.3.2/examples/multirotor/camera.rs
    4
    #[allow(clippy::no_effect)]
    5
    fn _settings_json() {
  • airsim-client 0.3.2/examples/multirotor/read_sensors.rs
    7
    #[allow(clippy::no_effect)]
    8
    fn _settings_json() {
  • anstyle-lossy 0.1.1/src/palette.rs
    41
                    // Panic
    42
                    #[allow(clippy::no_effect)]
    43
                    ["best_index is out of bounds"][best_index];
  • async-trait 0.1.64/tests/test.rs
    917
            #[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
    918
            async fn associated2(&self) {
    940
            #[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
    941
            async fn associated2(&self) {
  • async-trait-fn 0.1.64/tests/test.rs
    1382
            #[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
    1383
            async fn associated2(&self) {
    1405
            #[allow(path_statements, clippy::let_underscore_future, clippy::no_effect)]
    1406
            async fn associated2(&self) {
  • async-trait-with-sync 0.1.36/tests/test.rs
    845
            #[allow(path_statements, clippy::no_effect)]
    846
            async fn associated2(&self) {
    868
            #[allow(path_statements, clippy::no_effect)]
    869
            async fn associated2(&self) {
  • belgium 0.2.0/src/machine.rs
    232
                        #[allow(unused_must_use)]
    233
                        #[allow(clippy::no_effect)]
    234
                        {
  • binary-layout 3.1.3/src/macro_define_layout.rs
    255
                #[allow(unconditional_panic)]
    256
                #[allow(clippy::no_effect)]
    257
                ["Error: Fields without a static size (e.g. open-ended byte arrays) can only be used at the end of a layout"][10];
  • bl808-pac 0.0.0/src/generic.rs
    622
        fn index(&self, index: usize) -> &T {
    623
            #[allow(clippy::no_effect)]
    624
            [(); C][index];
  • cec1712-pac 0.0.2/src/generic.rs
    616
        fn index(&self, index: usize) -> &T {
    617
            #[allow(clippy::no_effect)]
    618
            [(); C][index];
  • cec1734-pac 0.0.22/src/generic.rs
    616
        fn index(&self, index: usize) -> &T {
    617
            #[allow(clippy::no_effect)]
    618
            [(); C][index];
  • cec1736-pac 0.0.2/src/generic.rs
    616
        fn index(&self, index: usize) -> &T {
    617
            #[allow(clippy::no_effect)]
    618
            [(); C][index];
  • const_format 0.2.30/src/formatting.rs
    273
    // Really clippy? Array indexing can panic you know.
    274
    #[allow(clippy::no_effect)]
    275
    pub const FOR_ESCAPING: &ForEscaping = {
  • corstone300-pac 0.2.0/src/generic.rs
    628
        fn index(&self, index: usize) -> &T {
    629
            #[allow(clippy::no_effect)]
    630
            [(); C][index];
  • d1-pac 0.0.31/src/generic.rs
    674
        fn index(&self, index: usize) -> &T {
    675
            #[allow(clippy::no_effect)]
    676
            [(); C][index];
  • electricui-embedded 0.1.5/src/sealed.rs
    3
    pub(crate) const fn greater_than_eq<const N: usize, const MIN: usize>() {
    4
        #[allow(clippy::no_effect)]
    5
        Assert::<N, MIN>::GREATER_EQ;
  • esp32 0.19.0/src/generic.rs
    674
        fn index(&self, index: usize) -> &T {
    675
            #[allow(clippy::no_effect)]
    676
            [(); C][index];
  • esp32c2 0.7.0/src/generic.rs
    674
        fn index(&self, index: usize) -> &T {
    675
            #[allow(clippy::no_effect)]
    676
            [(); C][index];
  • esp32c3 0.10.0/src/generic.rs
    674
        fn index(&self, index: usize) -> &T {
    675
            #[allow(clippy::no_effect)]
    676
            [(); C][index];
  • esp32s2 0.10.0/src/generic.rs
    674
        fn index(&self, index: usize) -> &T {
    675
            #[allow(clippy::no_effect)]
    676
            [(); C][index];
  • esp32s3 0.13.0/src/generic.rs
    674
        fn index(&self, index: usize) -> &T {
    675
            #[allow(clippy::no_effect)]
    676
            [(); C][index];
  • generic-vec 0.1.2/src/lib.rs
    474
            #[cfg(not(feature = "nightly"))]
    475
            #[allow(clippy::no_effect)]
    476
            {
  • grud 0.1.1/src/grid.rs
    543
            #[allow(clippy::no_effect)]
    544
            grid[0];
  • hashbrown 0.13.2/src/map.rs
    7459
            #[allow(clippy::no_effect)] // false positive lint
    7460
            map[&4];
  • idmap 0.2.21/tests/basic.rs
    87
    #[should_panic]
    88
    #[cfg_attr(feature = "cargo-clippy", allow(no_effect))] // It's supposed to panic
    89
    fn test_index_nonexistent() {
  • idmap 0.2.21/tests/direct.rs
    88
    #[should_panic]
    89
    #[cfg_attr(feature = "cargo-clippy", allow(no_effect))] // It's supposed to panic
    90
    fn test_index_nonexistent() {
  • k510-pac 0.0.2/src/generic.rs
    598
        fn index(&self, index: usize) -> &T {
    599
            #[allow(clippy::no_effect)]
    600
            [(); C][index];
  • late-static 0.4.0/src/lib.rs
    161
            unsafe {
    162
                #[allow(clippy::no_effect)]
    163
                DEREF_WITHOUT_VALUE.value;
  • libjuice-rs 0.1.0/src/log.rs
    40
    /// Init logger singleton
    41
    #[allow(clippy::no_effect)]
    42
    pub(crate) fn ensure_logging() {
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/arithmetic/div_mod.rs
    168
    #[allow(clippy::no_effect)]
    169
    fn benchmark_div_mod_unsigned_algorithms<T: PrimitiveUnsigned>(
    250
    #[allow(clippy::no_effect)]
    251
    fn benchmark_div_rem_unsigned_algorithms<T: PrimitiveUnsigned>(
    272
    #[allow(clippy::no_effect)]
    273
    fn benchmark_div_rem_signed_algorithms<T: PrimitiveSigned>(
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/float/nice_float/eq.rs
    26
    #[allow(clippy::no_effect, unused_must_use)]
    27
    fn benchmark_nice_float_eq_algorithms<T: PrimitiveFloat>(
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/rational_sequences/access/get.rs
    49
    #[allow(clippy::no_effect)]
    50
    fn benchmark_rational_sequence_index(
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/rational_sequences/comparison/eq.rs
    25
    #[allow(clippy::no_effect, unused_must_use)]
    26
    fn benchmark_rational_sequence_eq(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/add.rs
    93
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    94
    fn benchmark_integer_add_library_comparison(
    116
    #[allow(clippy::no_effect, unused_must_use)]
    117
    fn benchmark_integer_add_evaluation_strategy(
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/add_mul.rs
    183
    #[allow(clippy::no_effect, unused_must_use)]
    184
    fn benchmark_integer_add_mul_algorithms(
    209
    #[allow(clippy::no_effect, unused_must_use)]
    210
    fn benchmark_integer_add_mul_val_val_ref_algorithms(
    235
    #[allow(clippy::no_effect, unused_must_use)]
    236
    fn benchmark_integer_add_mul_val_ref_val_algorithms(
    261
    #[allow(clippy::no_effect, unused_must_use)]
    262
    fn benchmark_integer_add_mul_val_ref_ref_algorithms(
    287
    #[allow(clippy::no_effect, unused_must_use)]
    288
    fn benchmark_integer_add_mul_ref_ref_ref_algorithms(
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/div.rs
    68
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    69
    fn benchmark_integer_div_library_comparison(
    91
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    92
    fn benchmark_integer_div_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
    108
    #[allow(clippy::no_effect, unused_must_use)]
    109
    fn benchmark_integer_div_evaluation_strategy(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/add.rs
    95
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    96
    fn benchmark_rational_add_library_comparison(
    118
    #[allow(clippy::no_effect, unused_must_use)]
    119
    fn benchmark_rational_add_evaluation_strategy(
    142
    #[allow(clippy::no_effect, unused_must_use)]
    143
    fn benchmark_rational_add_algorithms(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/div.rs
    72
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    73
    fn benchmark_rational_div_library_comparison(
    95
    #[allow(clippy::no_effect, unused_must_use)]
    96
    fn benchmark_rational_div_evaluation_strategy(
    119
    #[allow(clippy::no_effect, unused_must_use)]
    120
    fn benchmark_rational_div_algorithms(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/mul.rs
    99
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    100
    fn benchmark_rational_mul_library_comparison(
    122
    #[allow(clippy::no_effect, unused_must_use)]
    123
    fn benchmark_rational_mul_evaluation_strategy(
    146
    #[allow(clippy::no_effect, unused_must_use)]
    147
    fn benchmark_rational_mul_algorithms(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/neg.rs
    40
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    41
    fn benchmark_rational_neg_library_comparison(
  • micro_ndarray 0.2.3/benches/benchmarks.rs
    33
            for x in 0..5 {
    34
                #[allow(clippy::no_effect)]
    35
                array[[x, y]];
    48
            for x in 0..5 {
    49
                #[allow(clippy::no_effect)]
    50
                array[[x, y]];
  • msp430fr2355 0.5.2/src/generic.rs
    760
            // Do a real array dereference for the bounds check.
    761
            #[allow(clippy::no_effect)]
    762
            [(); C][index];
  • neli 0.7.0-rc1/src/lib.rs
    575
        #[allow(clippy::no_effect)]
    576
        pub fn setup() {
  • nesdie 0.2.0/src/types/heapless/mod.rs
    13
    pub(crate) const fn greater_than_0<const N: usize>() {
    14
        #[allow(clippy::no_effect)]
    15
        Assert::<N, 0>::GREATER;
  • pin-project 1.0.12/tests/pinned_drop.rs
    226
            #[allow(path_statements)]
    227
            #[allow(clippy::no_effect)]
    228
            fn drop(self: Pin<&mut Self>) {
  • printpdf 0.5.3/src/pdf_page.rs
    170
        #[inline]
    171
        #[cfg_attr(feature = "cargo-clippy", allow(no_effect))]
    172
        pub fn get_layer(&self, layer: PdfLayerIndex)
  • prometools 0.1.2/src/serde/str.rs
    45
                #[allow(unconditional_panic)]
    46
                #[allow(clippy::no_effect)]
    47
                ([] as [u8; 0])[0]; // Invalid ASCII chars
  • pyo3 0.18.0/src/types/capsule.rs
    297
            ["PyCapsule value type T must not be zero-sized!"][Self::_CONDITION];
    298
        #[allow(path_statements, clippy::no_effect)]
    299
        fn assert_not_zero_sized(&self) {
  • r528-pac 0.0.3/src/generic.rs
    600
        fn index(&self, index: usize) -> &T {
    601
            #[allow(clippy::no_effect)]
    602
            [(); C][index];
  • rustable 0.3.0/src/lib.rs
    261
            // hacky way to panic if the value is out of range in const_fn
    262
            #[allow(clippy::no_effect)]
    263
            a[((0xFFFF000000000000 & mac) >> 32) as usize];
  • safe_http 0.1.0-beta.4/src/status/code.rs
    22
            if !is_valid_status_code(code) {
    23
                #[allow(unconditional_panic, clippy::no_effect)]
    24
                ([] as [u8; 0])[0]; // hack for panic in const fn,
  • samotop-async-trait 0.2.1/tests/test.rs
    831
            #[allow(path_statements, clippy::no_effect)]
    832
            async fn associated2(&self) {
    854
            #[allow(path_statements, clippy::no_effect)]
    855
            async fn associated2(&self) {
  • serde_prometheus_labels 0.2.0/src/str.rs
    59
                #[allow(unconditional_panic)]
    60
                #[allow(clippy::no_effect)]
    61
                ([] as [u8; 0])[0]; // Invalid ASCII chars
  • simd-json 0.7.0/src/value/tape.rs
    33
        #[should_panic]
    34
        #[allow(unused_variables, clippy::no_effect)]
    35
        fn object_index() {
    48
        #[should_panic]
    49
        #[allow(unused_variables, clippy::no_effect)]
    50
        fn array_index() {
  • smoltcp 0.8.2/src/wire/ipv4.rs
    139
        /// This function panics if the prefix length is larger than 32.
    140
        #[allow(clippy::no_effect)]
    141
        pub const fn new(address: Address, prefix_len: u8) -> Cidr {
  • stm32f7xx-hal 0.7.0/src/gpio/convert.rs
    343
        pub(super) fn set_alternate<const A: u8>(&mut self) {
    344
            #[allow(path_statements, clippy::no_effect)]
    345
            {
  • stm32h7xx-hal 0.13.1/src/gpio/convert.rs
    151
        ) -> Pin<P, N, Alternate<A, PushPull>> {
    152
            #[allow(path_statements, clippy::no_effect)]
    153
            {
    182
        ) -> Pin<P, N, Alternate<A, OpenDrain>> {
    183
            #[allow(path_statements, clippy::no_effect)]
    184
            {
  • stm32l4xx-hal 0.7.1/src/gpio/convert.rs
    11
        fn set_alternate<const A: u8>(&mut self) {
    12
            #[allow(path_statements, clippy::no_effect)]
    13
            {
  • structural 0.4.3/src/const_generic_utils.rs
    16
                // This has the effect of panicking on non to '0' to '9' characters.
    17
                #[allow(clippy::no_effect)]
    18
                {
  • structural 0.4.3/src/field/ownership.rs
    305
            // The effect is that it panics if `index >= 64`
    306
            #[allow(clippy::no_effect)]
    307
            [(); 64][index as usize];
  • svd2rust 0.28.0/src/generate/array_proxy.rs
    42
            // Do a real array dereference for the bounds check.
    43
            #[allow(clippy::no_effect)]
    44
            [(); C][index];
  • temporal-sdk-core 0.1.0-alpha.1/src/machines/test_help/transition_coverage.rs
    87
            // Make sure thread handle exists
    88
            #[allow(clippy::no_effect)] // Haha clippy, you'd be wrong here.
    89
            {
  • v853-pac 0.0.1/src/generic.rs
    598
        fn index(&self, index: usize) -> &T {
    599
            #[allow(clippy::no_effect)]
    600
            [(); C][index];
  • ya-smoltcp 0.1.0/src/wire/ipv4.rs
    139
        /// This function panics if the prefix length is larger than 32.
    140
        #[allow(clippy::no_effect)]
    141
        pub const fn new(address: Address, prefix_len: u8) -> Cidr {
  • arm64utils 0.1.3/src/lib.rs
    2
    #![allow(clippy::many_single_char_names)]
    3
    #![allow(clippy::no_effect)]
    4
    #![no_std]
  • atsam4-hal 0.3.0/src/sealed.rs
    1
    #![allow(clippy::no_effect)]
  • ntex-http 0.1.9/src/value.rs
    3
        clippy::should_implement_trait,
    4
        clippy::no_effect,
    5
        clippy::missing_safety_doc
  • otter-webdriver-tests 1.2.1/wdriver.rs
    12
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
    13
    #![allow(clippy::no_effect)] // trips on #[throws(Explode)]