diff --git a/crates/ra_parser/src/grammar/items.rs b/crates/ra_parser/src/grammar/items.rs index 0d3568e5fc..9c14b954af 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 // default type T = Bar; // default fn foo() {} // } - - // test_err default_const - // trait T { - // default const f: u8 = 0; - // } - - // test default_const - // impl T for Foo { - // default const f: u8 = 0; - // } T![const] => { consts::const_def(p, m); } diff --git a/crates/ra_syntax/test_data/parser/inline/err/0015_default_const.rast b/crates/ra_syntax/test_data/parser/err/0043_default_const.rast similarity index 100% rename from crates/ra_syntax/test_data/parser/inline/err/0015_default_const.rast rename to crates/ra_syntax/test_data/parser/err/0043_default_const.rast diff --git a/crates/ra_syntax/test_data/parser/inline/err/0015_default_const.rs b/crates/ra_syntax/test_data/parser/err/0043_default_const.rs similarity index 100% rename from crates/ra_syntax/test_data/parser/inline/err/0015_default_const.rs rename to crates/ra_syntax/test_data/parser/err/0043_default_const.rs diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0162_default_const.rast b/crates/ra_syntax/test_data/parser/ok/0066_default_const.rast similarity index 100% rename from crates/ra_syntax/test_data/parser/inline/ok/0162_default_const.rast rename to crates/ra_syntax/test_data/parser/ok/0066_default_const.rast diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0162_default_const.rs b/crates/ra_syntax/test_data/parser/ok/0066_default_const.rs similarity index 100% rename from crates/ra_syntax/test_data/parser/inline/ok/0162_default_const.rs rename to crates/ra_syntax/test_data/parser/ok/0066_default_const.rs