diff options
| author | bors <bors@rust-lang.org> | 2023-07-29 01:40:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-29 01:40:50 +0000 |
| commit | 4734ac0943cb19cdf42e9d1aa21380da242e7674 (patch) | |
| tree | 90e6fa6969d09ef5910b3ccc29b2c7558e69b0f1 /library/core | |
| parent | ca1f813cc305ec504d7e49672c340f0d3a597e5a (diff) | |
| parent | 2a76c570d6115230af9df0888a721de9fb2c88bc (diff) | |
| download | rust-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.rs | 1 |
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]; |
