1 #![warn(clippy::implicit_return)]
3 fn test_end_of_fn() -> bool {
11 #[allow(clippy::needless_bool)]
12 fn test_if_block() -> bool {
20 #[allow(clippy::match_bool)]
22 fn test_match(x: bool) -> bool {
29 #[allow(clippy::never_loop)]
30 fn test_loop() -> bool {
36 #[allow(clippy::never_loop)]
37 fn test_loop_with_block() -> bool {
45 #[allow(clippy::never_loop)]
46 fn test_loop_with_nests() -> bool {
63 let _ = test_end_of_fn();
64 let _ = test_if_block();
65 let _ = test_match(true);
67 let _ = test_loop_with_block();
68 let _ = test_loop_with_nests();