4 let s = &[0x00; 4][..]; //Slice of any value
5 const MAGIC_TEST: &[u8] = b"TEST"; //Const slice to pattern match with
8 [0x00, 0x00, 0x00, 0x00] => (),
9 [84, 69, 83, 84] => (), // this should warn
13 [0x00, 0x00, 0x00, 0x00] => (),
15 [84, 69, 83, 84] => (), // this should warn
19 [0x00, 0x00, 0x00, 0x00] => (),
20 [84, 69, 83, 84] => (),
21 MAGIC_TEST => (), // this should warn