#[derive(Snafu)] { // Attributes available to this derive: #[snafu] }
See the crate-level documentation for SNAFU which contains tested examples of this macro.