• amf 1.0.0/src/amf3/encode.rs
    248
        }
    249
        #[allow(clippy::zero_prefixed_literal, clippy::identity_op)]
    250
        fn encode_u29(&mut self, u29: u32) -> io::Result<()> {
  • dezoomify-rs 2.9.4/src/encoder/pixel_streamer.rs
    123
    #[allow(clippy::zero_prefixed_literal)]
    124
    #[cfg(test)]
  • dicetest 0.3.1/src/util/base64.rs
    21
    #[rustfmt::skip]
    22
    #[allow(clippy::zero_prefixed_literal)]
    23
    const CHAR_TO_BYTE: [u8; 256] = [
  • eth2_ssz 0.4.0/src/legacy.rs
    182
        #[test]
    183
        #[allow(clippy::zero_prefixed_literal)]
    184
        fn two_variable_len_options_encoding() {
  • eth2_ssz 0.4.0/tests/tests.rs
    85
        #[test]
    86
        #[allow(clippy::zero_prefixed_literal)]
    87
        fn fixed_len_struct_encoding() {
    145
        #[test]
    146
        #[allow(clippy::zero_prefixed_literal)]
    147
        fn offset_into_fixed_bytes() {
    176
        #[test]
    177
        #[allow(clippy::zero_prefixed_literal)]
    178
        fn first_offset_skips_byte() {
    191
        #[test]
    192
        #[allow(clippy::zero_prefixed_literal)]
    193
        fn variable_len_struct_encoding() {
    280
        #[test]
    281
        #[allow(clippy::zero_prefixed_literal)]
    282
        fn offsets_decreasing() {
  • ethereum_ssz 1.0.0-beta.2/src/legacy.rs
    182
        #[test]
    183
        #[allow(clippy::zero_prefixed_literal)]
    184
        fn two_variable_len_options_encoding() {
  • ethereum_ssz 1.0.0-beta.2/tests/tests.rs
    105
        #[test]
    106
        #[allow(clippy::zero_prefixed_literal)]
    107
        fn fixed_len_struct_encoding() {
    165
        #[test]
    166
        #[allow(clippy::zero_prefixed_literal)]
    167
        fn offset_into_fixed_bytes() {
    196
        #[test]
    197
        #[allow(clippy::zero_prefixed_literal)]
    198
        fn first_offset_skips_byte() {
    211
        #[test]
    212
        #[allow(clippy::zero_prefixed_literal)]
    213
        fn variable_len_struct_encoding() {
    300
        #[test]
    301
        #[allow(clippy::zero_prefixed_literal)]
    302
        fn offsets_decreasing() {
  • flexpolyline 0.1.0/src/lib.rs
    694
        #[test]
    695
        #[allow(clippy::zero_prefixed_literal)]
    696
        fn test_encode_decode_2d() -> Result<(), Error> {
    750
        #[test]
    751
        #[allow(clippy::zero_prefixed_literal)]
    752
        fn test_encode_decode_3d() -> Result<(), Error> {
  • iso_currency 0.4.3/src/lib.rs
    139
        #[test]
    140
        #[allow(clippy::zero_prefixed_literal)]
    141
        fn from_numeric() {
  • json-deserializer 0.4.4/src/string.rs
    75
    #[allow(clippy::zero_prefixed_literal)]
    76
    static HEX: [u8; 256] = {
  • lexpr 0.2.6/src/parse/read.rs
    1136
    #[allow(clippy::zero_prefixed_literal)]
    1137
    static HEX: [u8; 256] = {
  • libimagentrydatetime 0.10.1/src/datetime.rs
    231
            #[allow(clippy::zero_prefixed_literal)]
    232
            let date = {
    263
        #[test]
    264
        #[allow(clippy::zero_prefixed_literal)]
    265
        fn test_read_date() {
    305
            #[allow(clippy::zero_prefixed_literal)]
    306
            let date = {
  • libimagentrydatetime 0.10.1/src/range.rs
    58
        fn test_new_returns_error_if_start_after_end_date() {
    59
            #[allow(clippy::zero_prefixed_literal)]
    60
            let start = NaiveDateTime::new(
    65
            #[allow(clippy::zero_prefixed_literal)]
    66
            let end = NaiveDateTime::new(
    77
        fn test_new_returns_ok_if_start_is_before_end() {
    78
            #[allow(clippy::zero_prefixed_literal)]
    79
            let start = NaiveDateTime::new(
    84
            #[allow(clippy::zero_prefixed_literal)]
    85
            let end = NaiveDateTime::new(
  • lzfse_rust 0.1.0/src/fse/block.rs
    106
        #[allow(clippy::zero_prefixed_literal)]
    107
        #[rustfmt::skip]
    138
        #[allow(clippy::zero_prefixed_literal)]
    139
        #[allow(dead_code)]
    166
        #[allow(clippy::zero_prefixed_literal)]
    167
        #[rustfmt::skip]
  • maths-rs 0.1.5/src/mat.rs
    1160
    /// returns the 4x4 determinant using laplace expansion theorum
    1161
    #[allow(clippy::zero_prefixed_literal)] 
    1162
    impl<T> MatDeterminant<T> for Mat4<T> where T: Number {
    1235
    #[allow(clippy::zero_prefixed_literal)] 
    1236
    impl<T> MatInverse<T> for Mat4<T> where T: SignedNumber {
  • melib 0.7.2/src/datetime.rs
    575
    #[allow(clippy::zero_prefixed_literal)]
    576
    const TIMEZONE_ABBR: &[(&[u8], (i8, i8))] = &[
  • microserde 0.1.13/src/json/ser.rs
    128
    // Clippy false positive: https://github.com/rust-lang/rust-clippy/issues/5169
    129
    #[allow(clippy::zero_prefixed_literal)]
    130
    fn escape_str(value: &str, out: &mut String) {
  • miniserde 0.1.28/src/json/ser.rs
    133
    // Clippy false positive: https://github.com/rust-lang/rust-clippy/issues/5169
    134
    #[allow(clippy::zero_prefixed_literal)]
    135
    fn escape_str(value: &str, out: &mut String) {
  • miniserde-miku 0.1.23/src/json/ser.rs
    131
    // Clippy false positive: https://github.com/rust-lang/rust-clippy/issues/5169
    132
    #[allow(clippy::zero_prefixed_literal)]
    133
    fn escape_str<const CAP: usize>(value: &str, out: &mut ArrayString<CAP>) {
  • multisql 0.4.3/src/data/value/cast.rs
    214
    }
    215
    #[allow(clippy::zero_prefixed_literal)]
    216
    impl CastWithRules<NaiveDateTime> for Value {
  • mun_abi 0.4.0/src/lib.rs
    36
    /// Defines the current ABI version
    37
    #[allow(clippy::zero_prefixed_literal)]
    38
    pub const ABI_VERSION: u32 = 00_03_00;
  • number2name 1.1.2/src/benchmark.rs
    5
    #[allow(clippy::zero_prefixed_literal)]
    6
    pub fn encode(c: &mut Criterion) {
    114
    #[allow(clippy::zero_prefixed_literal)]
    115
    pub fn decode_case_sensitive(c: &mut Criterion) {
    223
    #[allow(clippy::zero_prefixed_literal)]
    224
    pub fn decode_case_insensitive(c: &mut Criterion) {
  • oal-sys 0.0.2/build.rs
    58
            #[rustfmt::skip]
    59
            #[allow(clippy::zero_prefixed_literal)]
    60
            file.write_all(
  • r3bl_rs_utils_core 0.8.4/src/tui_core/graphemes/test_unicode_string.rs
    37
        #[allow(clippy::zero_prefixed_literal)]
    38
        #[test]
    72
        #[allow(clippy::zero_prefixed_literal)]
    73
        #[test]
    157
        #[allow(clippy::zero_prefixed_literal)]
    158
        #[test]
    191
        #[allow(clippy::zero_prefixed_literal)]
    192
        #[test]
    211
        #[allow(clippy::zero_prefixed_literal)]
    212
        #[test]
  • ruint 1.7.0/src/base_convert.rs
    158
    #[allow(clippy::unreadable_literal)]
    159
    #[allow(clippy::zero_prefixed_literal)]
    160
    mod tests {
  • rustasim 0.0.99/src/main.rs
    9
        //let time_limit: u64 = 001_000_000_000;
    10
        #[allow(clippy::zero_prefixed_literal)]
    11
        let time_limit: u64 = 000_051_111_000;
  • sean_test_eth2_ssz 0.1.2/tests/tests.rs
    85
        #[test]
    86
        #[allow(clippy::zero_prefixed_literal)]
    87
        fn fixed_len_struct_encoding() {
    145
        #[test]
    146
        #[allow(clippy::zero_prefixed_literal)]
    147
        fn offset_into_fixed_bytes() {
    176
        #[test]
    177
        #[allow(clippy::zero_prefixed_literal)]
    178
        fn first_offset_skips_byte() {
    191
        #[test]
    192
        #[allow(clippy::zero_prefixed_literal)]
    193
        fn variable_len_struct_encoding() {
    280
        #[test]
    281
        #[allow(clippy::zero_prefixed_literal)]
    282
        fn offsets_decreasing() {
  • sszb 0.4.0/tests/tests.rs
    85
        #[test]
    86
        #[allow(clippy::zero_prefixed_literal)]
    87
        fn fixed_len_struct_encoding() {
    145
        #[test]
    146
        #[allow(clippy::zero_prefixed_literal)]
    147
        fn offset_into_fixed_bytes() {
    176
        #[test]
    177
        #[allow(clippy::zero_prefixed_literal)]
    178
        fn first_offset_skips_byte() {
    191
        #[test]
    192
        #[allow(clippy::zero_prefixed_literal)]
    193
        fn variable_len_struct_encoding() {
    280
        #[test]
    281
        #[allow(clippy::zero_prefixed_literal)]
    282
        fn offsets_decreasing() {
  • store-ref-scanner 0.1.0/src/hbm.rs
    4
    #[allow(clippy::as_conversions, clippy::zero_prefixed_literal)]
    5
    impl HalfBytesMask {
  • tudelft-nes-ppu 2.0.2/src/ppu/colors.rs
    3
    #[allow(clippy::zero_prefixed_literal)]
    4
    pub static NES_COLOR_PALLETE: [Color; 64] = [
  • yason 0.0.2/src/path/parse.rs
    602
    #[allow(clippy::zero_prefixed_literal)]
    603
    static HEX: [u8; 256] = {
  • zune-inflate 0.2.42/src/constants.rs
    77
    #[rustfmt::skip]
    78
    #[allow(clippy::zero_prefixed_literal)]
    79
    const fn construct_litlen_decode_table() -> [u32; 288]
    123
    #[rustfmt::skip]
    124
    #[allow(clippy::zero_prefixed_literal)] // the things we do for alignment
    125
    pub static OFFSET_DECODE_RESULTS: [u32; 32] = [
  • zune-inflate 0.2.42/src/crc.rs
    7
    /// Calculate crc for a data and an initial crc value
    8
    #[allow(clippy::identity_op, clippy::zero_prefixed_literal)]
    9
    pub fn crc32(data: &[u8], mut crc: u32) -> u32
  • abi_stable 0.11.1/src/lib.rs
    201
    #![allow(clippy::bool_assert_comparison)]
    202
    #![allow(clippy::zero_prefixed_literal)]
    203
    #![allow(clippy::type_complexity)]
  • ais 0.9.0/src/messages/base_station_report.rs
    84
    mod tests {
    85
        #![allow(clippy::zero_prefixed_literal)]
    86
        #![allow(clippy::unreadable_literal)]
  • ais 0.9.0/src/messages/group_assignment_command.rs
    155
    mod tests {
    156
        #![allow(clippy::zero_prefixed_literal)]
    157
        #![allow(clippy::unreadable_literal)]
  • ais 0.9.0/src/messages/utc_date_response.rs
    84
    mod tests {
    85
        #![allow(clippy::zero_prefixed_literal)]
    86
        #![allow(clippy::unreadable_literal)]
  • alt_serde 1.0.119/src/lib.rs
    119
            use_self,
    120
            zero_prefixed_literal,
    121
            // correctly used
  • alt_serde_json 1.0.61/src/lib.rs
    348
        clippy::use_self,
    349
        clippy::zero_prefixed_literal,
    350
        // we support older compilers
  • arrow2 0.15.0/tests/it/compute/arithmetics/decimal/add.rs
    1
    #![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
  • arrow2 0.15.0/tests/it/compute/arithmetics/decimal/div.rs
    1
    #![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
  • arrow2 0.15.0/tests/it/compute/arithmetics/decimal/mul.rs
    1
    #![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
  • arrow2 0.15.0/tests/it/compute/arithmetics/decimal/sub.rs
    1
    #![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
  • atsamd-hal 0.15.1/src/gpio/pin.rs
    96
    #![allow(clippy::zero_prefixed_literal)]
  • bankholidays 1.1.3/src/lib.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
  • Boa 0.13.1/src/builtins/date/tests.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
  • boa_engine 0.16.0/src/builtins/date/tests.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
  • brawllib_rs 0.24.1/src/lib.rs
    26
    // We use 0 prefices for lining up constants across multiple lines
    27
    #![allow(clippy::zero_prefixed_literal)]
  • cargo-tally 1.0.22/src/main.rs
    15
        clippy::uninlined_format_args,
    16
        clippy::zero_prefixed_literal
    17
    )]
  • concrete-fft 0.1.0/src/lib.rs
    66
        clippy::identity_op,
    67
        clippy::zero_prefixed_literal,
    68
        clippy::excessive_precision,
  • derivative 2.2.0/tests/rustc-issue-28561.rs
    11
    #![allow(clippy::zero_prefixed_literal, clippy::type_complexity)]
  • easytime 0.2.4/tests/duration.rs
    1
    #![warn(rust_2018_idioms, single_use_lifetimes)]
    2
    #![allow(clippy::zero_prefixed_literal, clippy::non_ascii_literal, clippy::assertions_on_constants)]
  • greg 0.1.2/src/lib.rs
    14
    #![allow(clippy::zero_prefixed_literal)]
  • greg-tz 0.1.1/src/lib.rs
    11
    #![allow(clippy::zero_prefixed_literal)]
  • nut 0.1.1/src/errors.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
  • opltypes 0.2.0/src/lib.rs
    4
    #![allow(clippy::inconsistent_digit_grouping)]
    5
    #![allow(clippy::zero_prefixed_literal)]
  • peppi 1.0.0-alpha.6/src/lib.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
    2
    #![allow(clippy::redundant_field_names)]
  • scientific 0.2.0/tests/float.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
  • scientific 0.2.0/tests/integer.rs
    1
    #![allow(clippy::zero_prefixed_literal)]
  • serde 1.0.152/src/lib.rs
    124
            use_self,
    125
            zero_prefixed_literal,
    126
            // correctly used
  • serde_json 1.0.91/src/lib.rs
    355
        clippy::use_self,
    356
        clippy::zero_prefixed_literal,
    357
        // we support older compilers
  • serde_json_lenient 0.1.4/src/lib.rs
    356
        clippy::use_self,
    357
        clippy::zero_prefixed_literal,
    358
        // we support older compilers
  • serde_json_v8 0.1.1/src/lib.rs
    314
        use_self,
    315
        zero_prefixed_literal,
    316
        // we support older compilers
  • serde_jsonrc 0.1.0/src/lib.rs
    327
        use_self,
    328
        zero_prefixed_literal,
    329
        // we support older compilers
  • serde_partiql 1.1.65/src/lib.rs
    348
        clippy::use_self,
    349
        clippy::zero_prefixed_literal,
    350
        // we support older compilers
  • serde_state 0.4.8/src/lib.rs
    132
    #![cfg_attr(feature = "cargo-clippy", allow(type_complexity))]
    133
    #![cfg_attr(feature = "cargo-clippy", allow(zero_prefixed_literal))]
    134
    // Blacklisted Rust lints.
  • time-macros-impl 0.1.2/src/lib.rs
    48
        clippy::wildcard_imports,
    49
        clippy::zero_prefixed_literal,
    50
        unstable_name_collisions
  • tulip-derivative 2.2.1/tests/rustc-issue-28561.rs
    11
    #![allow(clippy::zero_prefixed_literal, clippy::type_complexity)]
  • visa-rs 0.4.0/src/enums/attribute.rs
    146
        #![allow(overflowing_literals)]
    147
        #![allow(clippy::zero_prefixed_literal)]
    148
        #![allow(clippy::missing_safety_doc)]
  • yolol_number 0.9.0/src/tests.rs
    3
    // The way I write numbers to make them easy to read makes clippy angry
    4
    #![allow(clippy::zero_prefixed_literal)]
    5
    #![allow(clippy::inconsistent_digit_grouping)]