Skip to content

Commit c4fd463

Browse files
committed
Move default const test out of line
1 parent 3ec2dcf commit c4fd463

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

crates/ra_parser/src/grammar/items.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,6 @@ pub(super) fn maybe_item(p: &mut Parser, m: Marker, flavor: ItemFlavor) -> Resul
208208
// default type T = Bar;
209209
// default fn foo() {}
210210
// }
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-
// }
221211
T![const] => {
222212
consts::const_def(p, m);
223213
}

0 commit comments

Comments
 (0)