266 |
#[test]
|
267 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
268 |
fn check_reference_size_ptr() {
|
274 |
#[test]
|
275 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
276 |
fn check_reference_size_val() {
|
220 |
#[test]
|
221 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
222 |
fn check_reference_size_ptr() {
|
228 |
#[test]
|
229 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
230 |
fn check_reference_size_val() {
|
317 |
#[test]
|
318 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
319 |
fn check_reference_size_ptr() {
|
325 |
#[test]
|
326 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
327 |
fn check_reference_size_ptr_normalized() {
|
333 |
#[test]
|
334 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
335 |
fn check_reference_size_val() {
|
343 |
#[test]
|
344 |
#[allow(clippy::forget_ref, clippy::transmute_ptr_to_ptr)]
|
345 |
fn check_reference_size_val_normalized() {
|
88 |
// Important: we don't want f to get dropped at this point
|
89 |
#[allow(clippy::forget_ref)]
|
90 |
std::mem::forget(f);
|
23 |
#![allow(clippy::forget_ref)]
|
24 |
#![allow(clippy::forget_copy)]
|