fn check_struct( ctx: &AstCtx<'_>, item: &Struct, methods: &FastMap<String, Vec<(String, bool)>>, ) -> Vec<Violation>