1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Tuple-destructured parameter patterns are not supported. use auto_tuple::auto_tuple; #[auto_tuple] trait Tr { fn f(&self, (a, b): (usize, usize)); } struct X; impl Tr for X { fn f(&self, (_a, _b): (usize, usize)) {} } fn main() {}