Fix pprust-expr-roundtrip
This commit is contained in:
parent
6e4d0b4205
commit
f69a2a6cbd
|
@ -84,9 +84,9 @@ fn iter_exprs(depth: usize, f: &mut dyn FnMut(P<Expr>)) {
|
|||
2 => {
|
||||
let seg = PathSegment::from_ident(Ident::from_str("x"));
|
||||
iter_exprs(depth - 1, &mut |e| g(ExprKind::MethodCall(
|
||||
seg.clone(), vec![e, make_x()])));
|
||||
seg.clone(), vec![e, make_x()], DUMMY_SP)));
|
||||
iter_exprs(depth - 1, &mut |e| g(ExprKind::MethodCall(
|
||||
seg.clone(), vec![make_x(), e])));
|
||||
seg.clone(), vec![make_x(), e], DUMMY_SP)));
|
||||
},
|
||||
3..=8 => {
|
||||
let op = Spanned {
|
||||
|
|
Loading…
Reference in New Issue