diff options
| author | Centri3 <114838443+Centri3@users.noreply.github.com> | 2023-06-02 13:26:12 -0500 |
|---|---|---|
| committer | Centri3 <114838443+Centri3@users.noreply.github.com> | 2023-06-02 13:26:12 -0500 |
| commit | cd1d7a3c6f9968c3da89a5788363f042c8f15ebe (patch) | |
| tree | 4700e06188699bfaaa22cd76af80919cef97cbb8 | |
| parent | ad7c44b3e44b2e100fb55d5ced4e367812233dab (diff) | |
| download | rust-cd1d7a3c6f9968c3da89a5788363f042c8f15ebe.tar.gz rust-cd1d7a3c6f9968c3da89a5788363f042c8f15ebe.zip | |
weird
| -rw-r--r-- | tests/ui/ptr_cast_constness.fixed | 2 | ||||
| -rw-r--r-- | tests/ui/ptr_cast_constness.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/ptr_cast_constness.fixed b/tests/ui/ptr_cast_constness.fixed index 36304e4a0f0..ba3eca061df 100644 --- a/tests/ui/ptr_cast_constness.fixed +++ b/tests/ui/ptr_cast_constness.fixed @@ -2,7 +2,7 @@ //@aux-build:proc_macros.rs #![warn(clippy::ptr_cast_constness)] -#![allow(clippy::transmute_ptr_to_ref, unused)] +#![allow(clippy::transmute_ptr_to_ref, clippy::unnecessary_cast, unused)] extern crate proc_macros; use proc_macros::{external, inline_macros}; diff --git a/tests/ui/ptr_cast_constness.rs b/tests/ui/ptr_cast_constness.rs index 315e828bebe..adeb43edf68 100644 --- a/tests/ui/ptr_cast_constness.rs +++ b/tests/ui/ptr_cast_constness.rs @@ -2,7 +2,7 @@ //@aux-build:proc_macros.rs #![warn(clippy::ptr_cast_constness)] -#![allow(clippy::transmute_ptr_to_ref, unused)] +#![allow(clippy::transmute_ptr_to_ref, clippy::unnecessary_cast, unused)] extern crate proc_macros; use proc_macros::{external, inline_macros}; |
