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