aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs
diff options
context:
space:
mode:
authorToby Dimmick <[email protected]>2020-02-06 11:44:00 +0000
committerToby Dimmick <[email protected]>2020-02-06 19:45:51 +0000
commit7e66785859fc4a31fc3faf4848174699d3a2c020 (patch)
tree94a61899b4628eeca7a21a58c061b343bcf32e62 /crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs
parenta4431e83025223d5aea0ae3d49a6356775cb5f75 (diff)
Rework value parameter parsing
- `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs b/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs
index aef45e561..17ed20e5b 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs
@@ -1 +1 @@
type F = Box<Fn(x: i32) -> ()>; type F = Box<Fn(i32) -> ()>;