1 #![warn(clippy::double_must_use)]
2 #![allow(clippy::result_unit_err)]
5 pub fn must_use_result() -> Result<(), ()> {
10 pub fn must_use_tuple() -> (Result<(), ()>, u8) {
15 pub fn must_use_array() -> [Result<(), ()>; 1] {
19 #[must_use = "With note"]
20 pub fn must_use_with_note() -> Result<(), ()> {