summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/bytecount.rs
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2022-01-27 15:12:45 +0100
committerflip1995 <philipp.krones@embecosm.com>2022-01-27 15:12:45 +0100
commitcce9231c19378f57b05f3c8b09df317c3a512f82 (patch)
treea99668f41abff07226f0f43c4555d1ccfea46804 /src/tools/clippy/tests/ui/bytecount.rs
parent21b4a9cfdcbb1e76f4b36b5c3cfd64d627285093 (diff)
parenta98e7ab8b94485be6bd03e0c6b8682ecab5b52e6 (diff)
downloadrust-cce9231c19378f57b05f3c8b09df317c3a512f82.tar.gz
rust-cce9231c19378f57b05f3c8b09df317c3a512f82.zip
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
Diffstat (limited to 'src/tools/clippy/tests/ui/bytecount.rs')
-rw-r--r--src/tools/clippy/tests/ui/bytecount.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/bytecount.rs b/src/tools/clippy/tests/ui/bytecount.rs
index c724ee21be3..d3ad26921bf 100644
--- a/src/tools/clippy/tests/ui/bytecount.rs
+++ b/src/tools/clippy/tests/ui/bytecount.rs
@@ -1,3 +1,5 @@
+#![allow(clippy::needless_borrow)]
+
 #[deny(clippy::naive_bytecount)]
 fn main() {
     let x = vec![0_u8; 16];