aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0097_param_list_opt_patterns.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-08 16:34:26 +0100
committerAleksey Kladov <[email protected]>2018-08-08 16:34:26 +0100
commit8f21afacfc981e93f2ad78cd340e9b6c0e821d92 (patch)
treede7edde0b99d913c9f6ec049f794e71a26f1cecc /tests/data/parser/inline/0097_param_list_opt_patterns.rs
parentde7b1887ae46c78c3c0abf6d264b2649b1b5cf0b (diff)
Optional patterns in fn types
Diffstat (limited to 'tests/data/parser/inline/0097_param_list_opt_patterns.rs')
-rw-r--r--tests/data/parser/inline/0097_param_list_opt_patterns.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0097_param_list_opt_patterns.rs b/tests/data/parser/inline/0097_param_list_opt_patterns.rs
new file mode 100644
index 000000000..9b93442c0
--- /dev/null
+++ b/tests/data/parser/inline/0097_param_list_opt_patterns.rs
@@ -0,0 +1 @@
fn foo<F: FnMut(&mut Foo<'a>)>(){}