• loggy 0.5.3/src/lib.rs
    386
            #[allow(clippy::cast_ptr_alignment)]
    387
            #[allow(clippy::ptr_as_ptr)]
    388
            unsafe {
  • minivec 0.4.0/src/lib.rs
    853
      #[must_use]
    854
      #[allow(clippy::ptr_as_ptr)]
    855
      pub fn new() -> MiniVec<T> {
    1454
      ///
    1455
      #[allow(clippy::ptr_as_ptr)]
    1456
      pub fn split_off(&mut self, at: usize) -> MiniVec<T> {
  • nvbit-sys 0.0.6/src/nvbit.rs
    23
    #[allow(clippy::ptr_as_ptr)]
    24
    #[cxx::bridge]
  • process-memory 0.5.0/src/windows.rs
    66
        #[allow(clippy::ptr_as_ptr)]
    67
        fn copy_address(&self, addr: usize, buf: &mut [u8]) -> std::io::Result<()> {
    90
    impl PutAddress for ProcessHandle {
    91
        #[allow(clippy::ptr_as_ptr)]
    92
        fn put_address(&self, addr: usize, buf: &[u8]) -> std::io::Result<()> {
  • region 3.0.0/src/protect.rs
    172
      fn protect_can_alter_text_segments() {
    173
        #[allow(clippy::ptr_as_ptr)]
    174
        let address = &mut protect_can_alter_text_segments as *mut _ as *mut u8;
  • signalo_filters 0.6.0/src/median/mod.rs
    132
                    unsafe {
    133
                        #[allow(clippy::ptr_as_ptr)]
    134
                        (&array as *const _ as *const [ListNode<T>; N]).read()
  • termusic 0.7.8/src/player/mpv_backend/libmpv/mpv/events.rs
    87
    #[allow(clippy::ptr_as_ptr)]
    88
    impl<'a> PropertyData<'a> {
    244
        /// or `MPV_EVENT_PROPERTY_CHANGE` event failed, or if `MPV_EVENT_END_FILE` reported an error.
    245
        #[allow(clippy::ptr_as_ptr, clippy::cast_sign_loss)]
    246
        pub fn wait_event(&mut self, timeout: f64) -> Option<Result<Event<'_>>> {
  • 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 {
    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 {
    295
    #[allow(clippy::let_underscore_drop, clippy::ptr_as_ptr)]
    296
    unsafe impl GetData for String {
  • termusic 0.7.8/src/player/rusty_backend/mod.rs
    17
        clippy::manual_assert,
    18
        clippy::ptr_as_ptr,
    19
        clippy::redundant_closure_for_method_calls,
  • vsimd 0.8.0/src/tools.rs
    98
    #[allow(clippy::ptr_as_ptr)]
    99
    #[inline(always)]
  • cargo-tally 1.0.22/src/lib.rs
    17
        clippy::option_if_let_else,
    18
        clippy::ptr_as_ptr,
    19
        clippy::significant_drop_in_scrutinee,
  • cw-semver 1.0.14/src/lib.rs
    79
        clippy::option_if_let_else,
    80
        clippy::ptr_as_ptr,
    81
        clippy::redundant_else,
  • dragonbox 0.1.4/src/lib.rs
    64
        clippy::never_loop,
    65
        clippy::ptr_as_ptr,
    66
        clippy::shadow_unrelated,
  • dyn-clone 1.0.10/src/lib.rs
    88
    #![no_std]
    89
    #![allow(clippy::missing_panics_doc, clippy::ptr_as_ptr)]
  • libafl 0.9.0/src/lib.rs
    23
        clippy::used_underscore_binding,
    24
        clippy::ptr_as_ptr,
    25
        clippy::missing_panics_doc,
  • libafl_cc 0.9.0/src/lib.rs
    11
        clippy::used_underscore_binding,
    12
        clippy::ptr_as_ptr,
    13
        clippy::missing_panics_doc,
  • libafl_derive 0.9.0/src/lib.rs
    12
        clippy::used_underscore_binding,
    13
        clippy::ptr_as_ptr,
    14
        clippy::missing_panics_doc,
  • libafl_frida 0.9.0/src/lib.rs
    16
        clippy::used_underscore_binding,
    17
        clippy::ptr_as_ptr,
    18
        clippy::missing_panics_doc,
  • libafl_sugar 0.9.0/src/lib.rs
    11
        clippy::used_underscore_binding,
    12
        clippy::ptr_as_ptr,
    13
        clippy::missing_panics_doc,
  • libafl_targets 0.9.0/src/lib.rs
    13
        clippy::used_underscore_binding,
    14
        clippy::ptr_as_ptr,
    15
        clippy::missing_panics_doc,
  • monostate 0.1.2/src/lib.rs
    60
        clippy::module_name_repetitions,
    61
        clippy::ptr_as_ptr
    62
    )]
  • mpi-fork-fnsp 0.6.0/src/collective.rs
    12
        clippy::missing_panics_doc,
    13
        clippy::ptr_as_ptr,
    14
        clippy::used_underscore_binding
  • mpi-fork-fnsp 0.6.0/src/point_to_point.rs
    12
    //! `MPI_Rsend_init()`, `MPI_Recv_init()`, `MPI_Start()`, `MPI_Startall()`
    13
    #![allow(clippy::missing_panics_doc, clippy::ptr_as_ptr)]
    14
    use std::alloc::{self, Layout};
  • nng 1.0.1/src/lib.rs
    155
    // for a clippy lint.
    156
    #![allow(clippy::ptr_as_ptr)]
    157
    // In these cases, I just don't like what Clippy suggests.
  • physx 0.16.0/src/lib.rs
    176
        clippy::doc_markdown,                   // TODO: fixup comments and docs (though annoyingly complains about "PhysX")
    177
        clippy::ptr_as_ptr,                     // There are just too many of these
    178
        clippy::semicolon_if_nothing_returned,  // Too many of these
  • rocksdb 0.19.0/src/lib.rs
    69
        clippy::needless_pass_by_value,
    70
        clippy::ptr_as_ptr,
    71
        clippy::missing_panics_doc,
  • rocksdbx 0.19.0/src/lib.rs
    69
        clippy::needless_pass_by_value,
    70
        clippy::ptr_as_ptr,
    71
        clippy::missing_panics_doc,
  • semver 1.0.16/src/lib.rs
    79
        clippy::option_if_let_else,
    80
        clippy::ptr_as_ptr,
    81
        clippy::redundant_else,
  • unsafe-libyaml 0.2.5/src/bin/run-emitter-test-suite.rs
    9
        clippy::missing_safety_doc,
    10
        clippy::ptr_as_ptr,
    11
        clippy::single_match_else,
  • unsafe-libyaml 0.2.5/src/lib.rs
    29
        clippy::nonminimal_bool,
    30
        clippy::ptr_as_ptr,
    31
        clippy::redundant_else,