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<()> {
|
124 |
pub(crate) const fn pid(&self) -> ProcessId {
|
125 |
#[allow(clippy::borrow_as_ptr)]
|
126 |
ProcessId(ptr_as_usize(&*self.alloc as *const _))
|
215 |
pub(super) const fn pid(&self) -> ProcessId {
|
216 |
#[allow(clippy::borrow_as_ptr)]
|
217 |
ProcessId(ptr_as_usize(&*self.alloc as *const _))
|
151 |
#[must_use]
|
152 |
#[allow(clippy::borrow_as_ptr)]
|
153 |
#[allow(clippy::missing_const_for_fn)]
|
49 |
#[allow(clippy::upper_case_acronyms)]
|
50 |
#[allow(unknown_lints, clippy::borrow_as_ptr)]
|
51 |
mod nss {
|
33 |
#[allow(clippy::unreadable_literal)]
|
34 |
#[allow(unknown_lints, clippy::borrow_as_ptr)]
|
35 |
mod nss_p11 {
|
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 {
|
329 |
// Get the endpoint's friendly-name property.
|
330 |
#[allow(clippy::borrow_as_ptr)]
|
331 |
let mut property_value = property_store
|
545 |
#[allow(clippy::borrow_as_ptr)]
|
546 |
impl<'a, K, V> Iterator for Iter<'a, K, V> {
|
2 |
#![allow(
|
3 |
clippy::borrow_as_ptr,
|
4 |
clippy::borrowed_box,
|
23 |
clippy::missing_errors_doc,
|
24 |
clippy::borrow_as_ptr
|
25 |
)]
|
10 |
clippy::too_many_lines,
|
11 |
clippy::borrow_as_ptr
|
12 |
)]
|
72 |
// Till they fix this buggy lint in clippy
|
73 |
#![allow(clippy::borrow_as_ptr)]
|
74 |
#![allow(clippy::borrow_deref_ref)]
|
12 |
// Till they fix this buggy lint in clippy
|
13 |
#![allow(clippy::borrow_as_ptr)]
|
14 |
#![allow(clippy::borrow_deref_ref)]
|
53 |
#![allow(
|
54 |
clippy::borrow_as_ptr,
|
55 |
clippy::builtin_type_shadow,
|
15 |
unknown_lints,
|
16 |
clippy::borrow_as_ptr
|
17 |
)]
|
15 |
unknown_lints,
|
16 |
clippy::borrow_as_ptr
|
17 |
)]
|
15 |
unknown_lints,
|
16 |
clippy::borrow_as_ptr
|
17 |
)]
|
20 |
clippy::missing_errors_doc,
|
21 |
clippy::borrow_as_ptr
|
22 |
)]
|
49 |
#![allow(clippy::borrow_as_ptr)]
|