// ./src/attribute/unused.md fn used_function() {} // `#[allow(dead_code)]` is an attribute that disables the `dead_code` lint #[allow(dead_code)] fn unused_function() {} //fn noisy_unused_function() {} // FIXME ^ Add an attribute to suppress the warning fn part0() { used_function(); } pub fn main() { part0(); }