From 5398b9eeba14a3e73eb9a8b7e0d2e703e052585d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 16 Jan 2020 18:39:29 +0100 Subject: Minimize test --- crates/ra_parser/src/grammar/expressions/atom.rs | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'crates/ra_parser/src/grammar/expressions') diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs index 5c413317e..a98a2a3ef 100644 --- a/crates/ra_parser/src/grammar/expressions/atom.rs +++ b/crates/ra_parser/src/grammar/expressions/atom.rs @@ -188,19 +188,9 @@ fn array_expr(p: &mut Parser) -> CompletedMarker { p.bump(T!['[']); while !p.at(EOF) && !p.at(T![']']) { n_exprs += 1; - // test first_array_member_attributes - // pub const A: &[i64] = &[ - // #[cfg(test)] - // 1, - // 2, - // ]; - - // test subsequent_array_member_attributes - // pub const A: &[i64] = &[ - // 1, - // #[cfg(test)] - // 2, - // ]; + + // test array_attrs + // const A: &[i64] = &[1, #[cfg(test)] 2]; let m = p.start(); let has_attrs = p.at(T![#]); attributes::outer_attributes(p); -- cgit v1.2.3