aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src
diff options
context:
space:
mode:
authorAvi Dessauer <[email protected]>2020-06-04 18:06:26 +0100
committerAvi Dessauer <[email protected]>2020-06-04 18:06:57 +0100
commitc4fd46398132a409d7947141094d7301c0f0af73 (patch)
treed6f5140d307430aa6c853733e54eca82e8d13676 /crates/ra_parser/src
parent3ec2dcfc0d7ea7d9fb9c499616e9eca06b5c865b (diff)
Move default const test out of line
Diffstat (limited to 'crates/ra_parser/src')
-rw-r--r--crates/ra_parser/src/grammar/items.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/crates/ra_parser/src/grammar/items.rs b/crates/ra_parser/src/grammar/items.rs
index 0d3568e5f..9c14b954a 100644
--- a/crates/ra_parser/src/grammar/items.rs
+++ b/crates/ra_parser/src/grammar/items.rs
@@ -208,16 +208,6 @@ pub(super) fn maybe_item(p: &mut Parser, m: Marker, flavor: ItemFlavor) -> Resul
208 // default type T = Bar; 208 // default type T = Bar;
209 // default fn foo() {} 209 // default fn foo() {}
210 // } 210 // }
211
212 // test_err default_const
213 // trait T {
214 // default const f: u8 = 0;
215 // }
216
217 // test default_const
218 // impl T for Foo {
219 // default const f: u8 = 0;
220 // }
221 T![const] => { 211 T![const] => {
222 consts::const_def(p, m); 212 consts::const_def(p, m);
223 } 213 }