aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_parser/src/grammar/items.rs10
-rw-r--r--crates/ra_syntax/test_data/parser/err/0043_default_const.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0015_default_const.rast)0
-rw-r--r--crates/ra_syntax/test_data/parser/err/0043_default_const.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0015_default_const.rs)0
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0066_default_const.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0162_default_const.rast)0
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0066_default_const.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0162_default_const.rs)0
5 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 }
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
index 8eb583ef8..8eb583ef8 100644
--- 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
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
index 80f15474a..80f15474a 100644
--- 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
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
index dab0247ee..dab0247ee 100644
--- 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
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
index dfb3b92dc..dfb3b92dc 100644
--- 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