aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src
diff options
context:
space:
mode:
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 }