3 #![allow(dead_code, clippy::char_lit_as_u8, clippy::needless_bool)]
5 /// Should not trigger an ICE in `SpanlessHash` / `consts::constant`
7 /// Issue: https://github.com/rust-lang/rust-clippy/issues/2499
9 fn f(s: &[u8]) -> bool {
15 if s[0..4] != ['0' as u8; 4] {