From 7e66785859fc4a31fc3faf4848174699d3a2c020 Mon Sep 17 00:00:00 2001 From: Toby Dimmick Date: Thu, 6 Feb 2020 11:44:00 +0000 Subject: 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 --- crates/ra_syntax/test_data/parser/ok/0030_traits.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/ok/0030_traits.rs') diff --git a/crates/ra_syntax/test_data/parser/ok/0030_traits.rs b/crates/ra_syntax/test_data/parser/ok/0030_traits.rs index 23c4be0e1..ac30843ef 100644 --- a/crates/ra_syntax/test_data/parser/ok/0030_traits.rs +++ b/crates/ra_syntax/test_data/parser/ok/0030_traits.rs @@ -1,7 +1,3 @@ -pub trait WriteMessage { - fn write_message(&FrontendMessage); -} - trait Runnable { fn handler(); } -- cgit v1.2.3