aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0030_traits.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/ok/0030_traits.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/ok/0030_traits.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0030_traits.rs4
1 files changed, 0 insertions, 4 deletions
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 @@
1pub trait WriteMessage {
2 fn write_message(&FrontendMessage);
3}
4
5trait Runnable { 1trait Runnable {
6 fn handler(); 2 fn handler();
7} 3}