aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0063_trait_fn_patterns.rs
blob: 3b666af8eed3ba35dc92fd67efe849ae04180c1e (plain)
1
2
3
4
5
6
7
trait T {
    fn f1((a, b): (usize, usize)) {}
    fn f2(S { a, b }: S) {}
    fn f3(NewType(a): NewType) {}
    fn f4(&&a: &&usize) {}
    fn bar(_: u64, mut x: i32);
}