about summary refs log tree commit diff
path: root/tests/ui/ptr_offset_with_cast.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/ptr_offset_with_cast.fixed')
-rw-r--r--tests/ui/ptr_offset_with_cast.fixed1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/ptr_offset_with_cast.fixed b/tests/ui/ptr_offset_with_cast.fixed
index 718e391e8bf..c57e2990fb9 100644
--- a/tests/ui/ptr_offset_with_cast.fixed
+++ b/tests/ui/ptr_offset_with_cast.fixed
@@ -1,4 +1,5 @@
 // run-rustfix
+#![allow(clippy::unnecessary_cast)]
 
 fn main() {
     let vec = vec![b'a', b'b', b'c'];