about summary refs log tree commit diff
path: root/library/core
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-29 01:40:50 +0000
committerbors <bors@rust-lang.org>2023-07-29 01:40:50 +0000
commit4734ac0943cb19cdf42e9d1aa21380da242e7674 (patch)
tree90e6fa6969d09ef5910b3ccc29b2c7558e69b0f1 /library/core
parentca1f813cc305ec504d7e49672c340f0d3a597e5a (diff)
parent2a76c570d6115230af9df0888a721de9fb2c88bc (diff)
downloadrust-4734ac0943cb19cdf42e9d1aa21380da242e7674.tar.gz
rust-4734ac0943cb19cdf42e9d1aa21380da242e7674.zip
Auto merge of #111916 - fee1-dead-contrib:noop-method-call-warn, r=compiler-errors
make `noop_method_call` warn by default

r? `@compiler-errors`
Diffstat (limited to 'library/core')
-rw-r--r--library/core/benches/iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/benches/iter.rs b/library/core/benches/iter.rs
index 5ec22e5147b..05fec0c4b9d 100644
--- a/library/core/benches/iter.rs
+++ b/library/core/benches/iter.rs
@@ -473,6 +473,7 @@ fn bench_next_chunk_copied(b: &mut Bencher) {
 
 /// Exercises the TrustedRandomAccess specialization in ArrayChunks
 #[bench]
+#[allow(noop_method_call)]
 fn bench_next_chunk_trusted_random_access(b: &mut Bencher) {
     let v = vec![1u8; 1024];