diff options
-rw-r--r-- | crates/ra_parser/src/grammar/expressions.rs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/crates/ra_parser/src/grammar/expressions.rs b/crates/ra_parser/src/grammar/expressions.rs index 7caed66a0..d8105c382 100644 --- a/crates/ra_parser/src/grammar/expressions.rs +++ b/crates/ra_parser/src/grammar/expressions.rs | |||
@@ -535,15 +535,9 @@ fn cast_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { | |||
535 | m.complete(p, CAST_EXPR) | 535 | m.complete(p, CAST_EXPR) |
536 | } | 536 | } |
537 | 537 | ||
538 | // test arg_list | 538 | // test arg_with_attr |
539 | // fn assert_float(s: &str, n: f64) {} | 539 | // fn main() { |
540 | // fn foo() { | 540 | // foo(#[attr] 92) |
541 | // assert_float( | ||
542 | // "1.797693134862315708e+308L", | ||
543 | // #[allow(clippy::excessive_precision)] | ||
544 | // #[allow(dead_code)] | ||
545 | // 1.797_693_134_862_315_730_8e+308, | ||
546 | // ); | ||
547 | // } | 541 | // } |
548 | fn arg_list(p: &mut Parser) { | 542 | fn arg_list(p: &mut Parser) { |
549 | assert!(p.at(T!['('])); | 543 | assert!(p.at(T!['('])); |