diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-13 11:55:04 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-13 11:55:04 +0000 |
commit | 02b44006b8e37a8cd3f96d5b1c949d62e01be2e8 (patch) | |
tree | 69121d32a0a4e6484945fe1afa7724ea11ed223a /crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs | |
parent | b0ed808266e346b0f9330822f874e930710df4ec (diff) | |
parent | 680182d0a0853a3a76fd1cae9838feb5b0acf31c (diff) |
Merge #3575
3575: Restore cargo-fmt gating r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs b/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs new file mode 100644 index 000000000..3b666af8e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs | |||
@@ -0,0 +1,7 @@ | |||
1 | trait T { | ||
2 | fn f1((a, b): (usize, usize)) {} | ||
3 | fn f2(S { a, b }: S) {} | ||
4 | fn f3(NewType(a): NewType) {} | ||
5 | fn f4(&&a: &&usize) {} | ||
6 | fn bar(_: u64, mut x: i32); | ||
7 | } | ||