1 2 3 4 5 6 7 8 9
#![allow(dead_code)] #[derive(garde::Validate)] struct Test<'a> { #[garde(pattern("("))] field: &'a str, } fn main() {}