334 |
#[allow(clippy::undocumented_unsafe_blocks)] // TODO: document why this is safe
|
335 |
unsafe {
|
468 |
#[allow(clippy::undocumented_unsafe_blocks)] // TODO: document why this is safe
|
469 |
unsafe {
|
93 |
// TODO(bartlomieju):
|
94 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
95 |
unsafe {
|
24 |
// TODO(bartlomieju):
|
25 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
26 |
unsafe {
|
23 |
// TODO(bartlomieju):
|
24 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
25 |
unsafe {
|
7 |
// TODO(bartlomieju):
|
8 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
9 |
unsafe {
|
79 |
#[allow(
|
80 |
clippy::undocumented_unsafe_blocks,
|
81 |
clippy::identity_op,
|
141 |
// TODO(bartlomieju):
|
142 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
143 |
unsafe {
|
24 |
// TODO(bartlomieju):
|
25 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
26 |
unsafe {
|
23 |
// TODO(bartlomieju):
|
24 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
25 |
unsafe {
|
7 |
// TODO(bartlomieju):
|
8 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
9 |
unsafe {
|
93 |
// TODO(bartlomieju):
|
94 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
95 |
unsafe {
|
24 |
// TODO(bartlomieju):
|
25 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
26 |
unsafe {
|
23 |
// TODO(bartlomieju):
|
24 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
25 |
unsafe {
|
7 |
// TODO(bartlomieju):
|
8 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
9 |
unsafe {
|
307 |
// TODO(piscisaureus): safety comment
|
308 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
309 |
let self_inner = unsafe { &mut *self.inner.get() };
|
310 |
// TODO(piscisaureus): safety comment
|
311 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
312 |
let head_inner = unsafe { &mut *head.inner.get() };
|
318 |
// TODO(piscisaureus): safety comment
|
319 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
320 |
let inner = unsafe { &mut *self.inner.get() };
|
327 |
// TODO(piscisaureus): safety comment
|
328 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
329 |
let inner = unsafe { &mut *self.inner.get() };
|
334 |
// TODO(piscisaureus): safety comment
|
335 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
336 |
let inner = unsafe { &mut *self.inner.get() };
|
160 |
// TODO(piscisaureus): safety comment
|
161 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
162 |
let value = map_fn(unsafe { &*value });
|
168 |
// TODO(piscisaureus): safety comment
|
169 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
170 |
(unsafe { &*value }, rc)
|
213 |
// TODO(piscisaureus): safety comment
|
214 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
215 |
unsafe {
|
271 |
// TODO(piscisaureus): safety comment
|
272 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
273 |
let waiters = unsafe { &mut *cell_ref.waiters.as_ptr() };
|
301 |
// TODO(piscisaureus): safety comment
|
302 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
303 |
let waiters = unsafe { &mut *self.waiters.as_ptr() };
|
375 |
// TODO(bartlomieju):
|
376 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
377 |
let buf_slice =
|
381 |
// TODO(bartlomieju):
|
382 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
383 |
unsafe {
|
587 |
// TODO(bartlomieju):
|
588 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
589 |
unsafe {
|
595 |
// TODO(bartlomieju):
|
596 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
597 |
let self_weak = unsafe { Weak::from_raw(self_ptr as *const Self) };
|
610 |
// TODO(bartlomieju):
|
611 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
612 |
let self_weak = unsafe { Weak::from_raw(self_ptr as *const Self) };
|
259 |
// TODO(bartlomieju):
|
260 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
261 |
unsafe {
|
281 |
// TODO(bartlomieju):
|
282 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
283 |
unsafe {
|
179 |
// TODO(bartlomieju):
|
180 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
181 |
unsafe {
|
169 |
// TODO(bartlomieju):
|
170 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
171 |
unsafe {
|
235 |
// TODO(bartlomieju):
|
236 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
237 |
unsafe {
|
172 |
// TODO(bartlomieju):
|
173 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
174 |
{
|
184 |
// TODO(bartlomieju):
|
185 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
186 |
{
|
74 |
// TODO(bartlomieju):
|
75 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
76 |
let r = unsafe { libc::tcflush(0, libc::TCIFLUSH) };
|
240 |
// TODO(bartlomieju):
|
241 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
242 |
unsafe {
|
260 |
// TODO(bartlomieju):
|
261 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
262 |
unsafe {
|
174 |
// TODO(bartlomieju):
|
175 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
176 |
unsafe {
|
147 |
// TODO(bartlomieju):
|
148 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
149 |
unsafe {
|
169 |
// TODO(bartlomieju):
|
170 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
171 |
Ok(unsafe { consoleapi::GetConsoleMode(handle, &mut test_mode) != FALSE })
|
177 |
// TODO(bartlomieju):
|
178 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
179 |
Ok(unsafe { libc::isatty(raw_fd as libc::c_int) == 1 })
|
222 |
// TODO(bartlomieju):
|
223 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
224 |
unsafe {
|
1853 |
// TODO(bartlomieju):
|
1854 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
1855 |
let r = unsafe { libc::tcflush(0, libc::TCIFLUSH) };
|
162 |
// TODO(crowlKats):
|
163 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
164 |
let slice = unsafe {
|
191 |
// TODO(crowlKats):
|
192 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
193 |
let slice = unsafe {
|
141 |
// TODO(bartlomieju):
|
142 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
143 |
unsafe {
|
24 |
// TODO(bartlomieju):
|
25 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
26 |
unsafe {
|
23 |
// TODO(bartlomieju):
|
24 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
25 |
unsafe {
|
7 |
// TODO(bartlomieju):
|
8 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
9 |
unsafe {
|
259 |
// TODO(bartlomieju):
|
260 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
261 |
unsafe {
|
281 |
// TODO(bartlomieju):
|
282 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
283 |
unsafe {
|
179 |
// TODO(bartlomieju):
|
180 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
181 |
unsafe {
|
169 |
// TODO(bartlomieju):
|
170 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
171 |
unsafe {
|
235 |
// TODO(bartlomieju):
|
236 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
237 |
unsafe {
|
172 |
// TODO(bartlomieju):
|
173 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
174 |
{
|
184 |
// TODO(bartlomieju):
|
185 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
186 |
{
|
74 |
// TODO(bartlomieju):
|
75 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
76 |
let r = unsafe { libc::tcflush(0, libc::TCIFLUSH) };
|
159 |
// TODO(crowlKats):
|
160 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
161 |
let slice = unsafe {
|
188 |
// TODO(crowlKats):
|
189 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
190 |
let slice = unsafe {
|
4 |
#[allow(clippy::all)]
|
5 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
6 |
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
|
2 |
// SPDX-License-Identifier: Apache-2.0
|
3 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
4 |
#[allow(clippy::all)]
|
104 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
105 |
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
16 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
17 |
const _: () = {
|
3 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
4 |
unsafe impl<T: ::pin_project::__private::Unpin, U: ::pin_project::__private::Unpin>
|
7 |
}
|
8 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
9 |
unsafe impl<T: ::pin_project::__private::Unpin, U: ::pin_project::__private::Unpin>
|
12 |
}
|
13 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
14 |
unsafe impl<T: ::pin_project::__private::Unpin, U: ::pin_project::__private::Unpin>
|
137 |
// Currently this is not in use.
|
138 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
139 |
unsafe impl Sync for MultiReaderRdfGraph {}
|
1008 |
#[cfg(test)]
|
1009 |
#[allow(dead_code, clippy::undocumented_unsafe_blocks, clippy::wildcard_imports)]
|
1010 |
mod tests_no_outline_atomics {
|
185 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
186 |
#[cfg(test)]
|
439 |
#[allow(clippy::undocumented_unsafe_blocks, clippy::wildcard_imports)]
|
440 |
#[cfg(test)]
|
502 |
#[allow(clippy::undocumented_unsafe_blocks, clippy::wildcard_imports)]
|
503 |
#[cfg(test)]
|
123 |
#[allow(clippy::undocumented_unsafe_blocks)] // there is a safety doc inside the macro... clippy is blind!
|
124 |
Ok(compiler! {
|
429 |
// TODO(#61): Add a "SAFETY" comment and remove this `allow`.
|
430 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
431 |
unsafe {
|
476 |
// TODO(#61): Add a "SAFETY" comment and remove this `allow`.
|
477 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
478 |
unsafe {
|
593 |
// TODO(#61): Add a "SAFETY" comment and remove this `allow`.
|
594 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
595 |
unsafe {
|
612 |
// TODO(#61): Add a "SAFETY" comment and remove this `allow`.
|
613 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
614 |
unsafe {
|
1730 |
// TODO(#61): Add a "SAFETY" comment and remove this `allow`.
|
1731 |
#[allow(clippy::undocumented_unsafe_blocks)]
|
1732 |
unsafe {
|
5 |
#![allow(clippy::unused_self)]
|
6 |
#![allow(clippy::undocumented_unsafe_blocks)] // TODO: Remove, comment unsafe blocks instead
|
7 |
#![deny(
|
1 |
#![allow(clippy::undocumented_unsafe_blocks)] // TODO: remove and comment blocks instead
|
4 |
clippy::std_instead_of_core,
|
5 |
clippy::undocumented_unsafe_blocks,
|
6 |
clippy::wildcard_imports
|
4 |
#![allow(non_camel_case_types)]
|
5 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
4 |
#![allow(non_upper_case_globals)]
|
5 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![deny(clippy::missing_safety_doc)]
|
4 |
#![allow(non_camel_case_types)]
|
5 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
40 |
#![allow(
|
41 |
clippy::undocumented_unsafe_blocks, // FIXME
|
42 |
clippy::missing_panics_doc, // FIXME
|
182 |
mod tests {
|
183 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
184 |
use super::*;
|
629 |
mod tests {
|
630 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
631 |
use super::*;
|
1664 |
mod tests {
|
1665 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
1666 |
extern crate byteorder;
|
1642 |
mod tests {
|
1643 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
1644 |
use super::*;
|
256 |
mod tests {
|
257 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
258 |
use std::fs::File;
|
9 |
// Group of too restrictive lints
|
10 |
clippy::undocumented_unsafe_blocks,
|
11 |
clippy::as_conversions,
|
96 |
mod tests {
|
97 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
98 |
use super::*;
|
426 |
mod tests {
|
427 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
428 |
use super::*;
|
4 |
clippy::std_instead_of_core,
|
5 |
clippy::undocumented_unsafe_blocks,
|
6 |
clippy::wildcard_imports
|
38 |
// FIXME: Temporarily disabled due to https://github.com/rust-lang/rust-clippy/issues/9142
|
39 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
38 |
// FIXME: Temporarily disabled due to https://github.com/rust-lang/rust-clippy/issues/9142
|
39 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
18 |
// Basically everything will be unsafe since this is a FFI
|
19 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
20 |
// const extern fns are unstable
|
69 |
// FIXME: Temporarily disabled due to https://github.com/rust-lang/rust-clippy/issues/9142
|
70 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
5 |
clippy::unneeded_field_pattern,
|
6 |
clippy::undocumented_unsafe_blocks,
|
7 |
clippy::integer_arithmetic,
|
8 |
// calls. For now, set this to allow for the libc backend.
|
9 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
10 |
// Lots of libc types vary between platforms, so we often need a `.into()` on
|
7 |
#![allow(dead_code)]
|
8 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
6 |
#![allow(unsafe_code)]
|
7 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
37 |
// FIXME: Temporarily disabled due to https://github.com/rust-lang/rust-clippy/issues/9142
|
38 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
420 |
mod tests {
|
421 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
4 |
#![cfg(feature = "backend-mmap")]
|
5 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
333 |
pub(crate) mod tests {
|
334 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
335 |
use super::*;
|
106 |
mod tests {
|
107 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
108 |
use super::*;
|
1028 |
mod tests {
|
1029 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
1030 |
use super::*;
|
672 |
mod tests {
|
673 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
674 |
extern crate vmm_sys_util;
|
463 |
mod tests {
|
464 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
465 |
use super::*;
|
1375 |
mod tests {
|
1376 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
1377 |
use super::*;
|
582 |
mod tests {
|
583 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
584 |
#[cfg(feature = "with-serde")]
|
459 |
mod tests {
|
460 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
461 |
use super::*;
|
458 |
mod tests {
|
459 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
460 |
use super::*;
|
228 |
mod tests {
|
229 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
230 |
use super::*;
|
157 |
mod tests {
|
158 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
159 |
use super::*;
|
3 |
// This is needed because one safety comment applies to multiple unsafe impls
|
4 |
#![allow(clippy::undocumented_unsafe_blocks)]
|
449 |
mod tests {
|
450 |
#![allow(clippy::undocumented_unsafe_blocks)]
|