#![allow(dead_code)]
mod inner {
//! forbid(slippy::string_used_as_enum)
pub struct InnerInput {
pub r#type: String,
}
pub fn do_something(input: InnerInput) {
match input.r#type.as_str() {
"a" => println!("a"),
"b" => println!("b"),
_ => panic!("Unknown type: {}", input.r#type),
}
}
}
struct OuterInput {
r#type: String,
}
fn main() {}