• cli-batteries 0.4.1/src/trace/mod.rs
    133
    impl Options {
    134
        #[allow(clippy::borrow_as_ptr)] // ptr::addr_of! does not work here.
    135
        pub fn init(&self, version: &Version, load_addr: usize) -> EyreResult<()> {
  • heph-rt 0.4.1/src/local/scheduler/mod.rs
    124
        pub(crate) const fn pid(&self) -> ProcessId {
    125
            #[allow(clippy::borrow_as_ptr)]
    126
            ProcessId(ptr_as_usize(&*self.alloc as *const _))
  • heph-rt 0.4.1/src/shared/scheduler/mod.rs
    215
        pub(super) const fn pid(&self) -> ProcessId {
    216
            #[allow(clippy::borrow_as_ptr)]
    217
            ProcessId(ptr_as_usize(&*self.alloc as *const _))
  • nc 0.8.13/src/c_str.rs
    151
        #[must_use]
    152
        #[allow(clippy::borrow_as_ptr)]
    153
        #[allow(clippy::missing_const_for_fn)]
  • nss-gk-api 0.2.1/src/lib.rs
    49
    #[allow(clippy::upper_case_acronyms)]
    50
    #[allow(unknown_lints, clippy::borrow_as_ptr)]
    51
    mod nss {
  • nss-gk-api 0.2.1/src/p11.rs
    33
    #[allow(clippy::unreadable_literal)]
    34
    #[allow(unknown_lints, clippy::borrow_as_ptr)]
    35
    mod nss_p11 {
  • termusic 0.7.8/src/player/mpv_backend/libmpv/mpv.rs
    63
    /// This trait describes which types are allowed to be passed to getter mpv APIs.
    64
    #[allow(clippy::borrow_as_ptr, clippy::ptr_as_ptr)]
    65
    pub unsafe trait GetData: Sized {
    76
    /// This trait describes which types are allowed to be passed to setter mpv APIs.
    77
    #[allow(clippy::borrow_as_ptr, clippy::ptr_as_ptr)]
    78
    pub unsafe trait SetData: Sized {
    173
    #[allow(clippy::borrow_as_ptr, clippy::module_name_repetitions)]
    174
    impl Drop for MpvNode {
    256
    #[allow(clippy::borrow_as_ptr, clippy::ptr_as_ptr)]
    257
    unsafe impl GetData for MpvNode {
    283
    #[allow(clippy::borrow_as_ptr, clippy::ptr_as_ptr)]
    284
    unsafe impl SetData for bool {
  • termusic 0.7.8/src/player/rusty_backend/cpal/host/wasapi/device.rs
    329
                // Get the endpoint's friendly-name property.
    330
                #[allow(clippy::borrow_as_ptr)]
    331
                let mut property_value = property_store
  • xlang_abi 0.2.0/src/collection.rs
    545
    #[allow(clippy::borrow_as_ptr)]
    546
    impl<'a, K, V> Iterator for Iter<'a, K, V> {
  • cargo-tally 1.0.22/src/lib.rs
    2
    #![allow(
    3
        clippy::borrow_as_ptr,
    4
        clippy::borrowed_box,
  • dll-syringe 0.15.0/src/lib.rs
    23
        clippy::missing_errors_doc,
    24
        clippy::borrow_as_ptr
    25
    )]
  • exacl 0.10.0/src/bindings.rs
    10
        clippy::too_many_lines,
    11
        clippy::borrow_as_ptr
    12
    )]
  • libafl 0.9.0/src/lib.rs
    72
    // Till they fix this buggy lint in clippy
    73
    #![allow(clippy::borrow_as_ptr)]
    74
    #![allow(clippy::borrow_deref_ref)]
  • libafl_qemu 0.9.0/src/lib.rs
    12
    // Till they fix this buggy lint in clippy
    13
    #![allow(clippy::borrow_as_ptr)]
    14
    #![allow(clippy::borrow_deref_ref)]
  • monostate 0.1.2/src/lib.rs
    53
    #![allow(
    54
        clippy::borrow_as_ptr,
    55
        clippy::builtin_type_shadow,
  • nss-gk-api 0.2.1/src/prio.rs
    15
        unknown_lints,
    16
        clippy::borrow_as_ptr
    17
    )]
  • nss-gk-api 0.2.1/src/prtypes.rs
    15
        unknown_lints,
    16
        clippy::borrow_as_ptr
    17
    )]
  • nss-gk-api 0.2.1/src/ssl.rs
    15
        unknown_lints,
    16
        clippy::borrow_as_ptr
    17
    )]
  • wineventhook 0.7.0/src/lib.rs
    20
        clippy::missing_errors_doc,
    21
        clippy::borrow_as_ptr
    22
    )]
  • xlang_abi 0.2.0/src/traits.rs
    49
    #![allow(clippy::borrow_as_ptr)]