diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-06-09 20:25:47 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-06-10 17:30:11 -0400 |
| commit | f69a2a6cbd38a13c039fd1f1114424fe0e55b14a (patch) | |
| tree | 0e05fd41f468e46328898a8ef06e6153fcd11989 | |
| parent | 6e4d0b4205dbffa76258527aba9ea2e55492e66e (diff) | |
| download | rust-f69a2a6cbd38a13c039fd1f1114424fe0e55b14a.tar.gz rust-f69a2a6cbd38a13c039fd1f1114424fe0e55b14a.zip | |
Fix pprust-expr-roundtrip
| -rw-r--r-- | src/test/ui-fulldeps/pprust-expr-roundtrip.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui-fulldeps/pprust-expr-roundtrip.rs b/src/test/ui-fulldeps/pprust-expr-roundtrip.rs index cef600bed5f..6da26e6cfbe 100644 --- a/src/test/ui-fulldeps/pprust-expr-roundtrip.rs +++ b/src/test/ui-fulldeps/pprust-expr-roundtrip.rs @@ -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 { |
