3 fn get_number() -> usize {
7 fn get_reference(n: &usize) -> &usize {
11 #[allow(clippy::many_single_char_names, clippy::double_parens)]
12 #[allow(unused_variables, unused_parens)]
13 #[warn(clippy::deref_addrof)]
22 let b = *get_reference(&a);
24 let bytes: Vec<usize> = vec![1, 2, 3, 4];
25 let b = bytes[1..2][0];
27 //This produces a suggestion of 'let b = (a);' which
28 //will trigger the 'unused_parens' lint