diff options
author | Joshua Nelson <[email protected]> | 2020-01-16 00:12:56 +0000 |
---|---|---|
committer | Joshua Nelson <[email protected]> | 2020-01-16 00:12:56 +0000 |
commit | c78e34968ff24bf8b195ea02be54835a09f53abd (patch) | |
tree | 68edbea686776dad7a83d14b4cc285610674c4d7 /crates/ra_parser | |
parent | c3ac2c93fb446329b09882ef452fd6820290bfc5 (diff) |
shrink inline tes
Diffstat (limited to 'crates/ra_parser')
-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!['('])); |