Skip to content

Commit 69205db

Browse files
committed
Adapt ui-fulldeps test.
1 parent 9701845 commit 69205db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui-fulldeps/pprust-expr-roundtrip.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ fn iter_exprs(depth: usize, f: &mut dyn FnMut(P<Expr>)) {
7474
2 => {
7575
let seg = PathSegment::from_ident(Ident::from_str("x"));
7676
iter_exprs(depth - 1, &mut |e| {
77-
g(ExprKind::MethodCall(seg.clone(), vec![e, make_x()], DUMMY_SP))
77+
g(ExprKind::MethodCall(seg.clone(), e, vec![make_x()], DUMMY_SP))
7878
});
7979
iter_exprs(depth - 1, &mut |e| {
80-
g(ExprKind::MethodCall(seg.clone(), vec![make_x(), e], DUMMY_SP))
80+
g(ExprKind::MethodCall(seg.clone(), make_x(), vec![e], DUMMY_SP))
8181
});
8282
}
8383
3..=8 => {

0 commit comments

Comments
 (0)