• ddcore-rs 0.3.4/src/memory/mod.rs
    499
    #[allow(clippy::transmute_ptr_to_ref)]
    500
    #[cfg(target_os = "windows")]
  • graphene-rs 0.16.3/src/lib.rs
    19
    #[allow(clippy::transmute_ptr_to_ref)]
    20
    #[allow(clippy::type_complexity)]
  • libmtp-rs 0.7.7/src/util.rs
    15
    #[allow(clippy::transmute_ptr_to_ref)]
    16
    pub(crate) unsafe extern "C" fn progress_func_handler(
    52
    #[allow(clippy::transmute_ptr_to_ref)]
    53
    pub(crate) unsafe extern "C" fn data_put_func_handler(
    83
    #[allow(clippy::transmute_ptr_to_ref)]
    84
    pub(crate) unsafe extern "C" fn data_get_func_handler(
  • libremarkable 0.6.2/src/appctx.rs
    137
        pub fn get_lua_ref(&mut self) -> &'a mut Lua<'static> {
    138
            #[allow(clippy::transmute_ptr_to_ref)]
    139
            unsafe {
  • ndarray-image 0.3.0/src/lib.rs
    191
            let (width, height) = (width as usize, height as usize);
    192
            #[allow(clippy::transmute_ptr_to_ref)]
    193
            let slice: &'a mut [A] =
    231
            let channels = P::CHANNEL_COUNT as usize;
    232
            #[allow(clippy::transmute_ptr_to_ref)]
    233
            let slice: &'a mut [A] =
  • placement-new 0.3.0/src/slice.rs
    42
        #[allow(clippy::transmute_ptr_to_ref)]
    43
        {
  • simple_libc 0.5.0/src/inotify.rs
    228
            // Extract the raw event
    229
            #[allow(clippy::transmute_ptr_to_ref)]
    230
            let raw_event =
  • wgpu-core 0.15.0/src/instance.rs
    496
                        // we don't want to link to metal-rs for this
    497
                        #[allow(clippy::transmute_ptr_to_ref)]
    498
                        inst.create_surface_from_layer(unsafe { std::mem::transmute(layer) })
  • wgpu-hal 0.15.1/src/metal/surface.rs
    79
        /// If not called on the main thread, this will panic.
    80
        #[allow(clippy::transmute_ptr_to_ref)]
    81
        pub unsafe fn from_view(
  • crfsuite 0.3.1/src/lib.rs
    2
    #![allow(clippy::useless_transmute)]
    3
    #![allow(clippy::transmute_ptr_to_ref)]
    4
    #![allow(clippy::transmute_ptr_to_ptr)]
  • lockc 0.1.2/src/bpf/mod.rs
    3
    #![allow(non_camel_case_types)]
    4
    #![allow(clippy::transmute_ptr_to_ref)]
    5
    #![allow(clippy::upper_case_acronyms)]
  • nuki 0.6.3/src/lib.rs
    1
    #![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ptr))] // TODO later
    2
    #![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))] // TODO later
    3
    #![cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] // API requirement
  • nuklear-rust 0.6.3/src/lib.rs
    1
    #![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ptr))] // TODO later
    2
    #![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))] // TODO later
    3
    #![cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] // API requirement
  • onig 6.4.0/src/region.rs
    1
    #![allow(clippy::transmute_ptr_to_ref)]
  • onig 6.4.0/src/syntax.rs
    1
    #![allow(clippy::transmute_ptr_to_ptr)]
    2
    #![allow(clippy::transmute_ptr_to_ref)]
  • onig 6.4.0/src/tree.rs
    1
    #![allow(clippy::transmute_ptr_to_ref)]
  • romy-sdl2 0.32.2/src/sdl2/lib.rs
    51
    #![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, transmute_ptr_to_ref))]
  • rvsim 0.2.2/src/elf.rs
    1
    #![allow(clippy::cast_lossless, clippy::transmute_ptr_to_ref)]
  • sdl2 0.35.2/src/sdl2/lib.rs
    49
    #![crate_type = "lib"]
    50
    #![allow(clippy::cast_lossless, clippy::transmute_ptr_to_ref)]