Debian Codegraph @

third_party/rust/extend/tests/compile_pass/destructure.rs

raw
1 #![allow(warnings)]
2
3 use extend::ext;
4
5 #[ext]
6 impl i32 {
7 fn foo(self, (a, b): (i32, i32)) {}
8
9 fn bar(self, [a, b]: [i32; 2]) {}
10 }
11
12 fn main() {}