mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
shrink inline tes
This commit is contained in:
parent
c3ac2c93fb
commit
c78e34968f
1 changed files with 3 additions and 9 deletions
|
@ -535,15 +535,9 @@ fn cast_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker {
|
||||||
m.complete(p, CAST_EXPR)
|
m.complete(p, CAST_EXPR)
|
||||||
}
|
}
|
||||||
|
|
||||||
// test arg_list
|
// test arg_with_attr
|
||||||
// fn assert_float(s: &str, n: f64) {}
|
// fn main() {
|
||||||
// fn foo() {
|
// foo(#[attr] 92)
|
||||||
// assert_float(
|
|
||||||
// "1.797693134862315708e+308L",
|
|
||||||
// #[allow(clippy::excessive_precision)]
|
|
||||||
// #[allow(dead_code)]
|
|
||||||
// 1.797_693_134_862_315_730_8e+308,
|
|
||||||
// );
|
|
||||||
// }
|
// }
|
||||||
fn arg_list(p: &mut Parser) {
|
fn arg_list(p: &mut Parser) {
|
||||||
assert!(p.at(T!['(']));
|
assert!(p.at(T!['(']));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue