1
Fork 0

Rename some ExtCtxt methods.

The new names are more accurate.

Co-authored-by: Scott McMurray <scottmcm@users.noreply.github.com>
This commit is contained in:
Nicholas Nethercote 2022-06-22 08:38:24 +10:00
parent dc80ca78b6
commit 7586e79af8
5 changed files with 15 additions and 12 deletions

View file

@ -351,7 +351,7 @@ fn mk_tests_slice(cx: &TestCtxt<'_>, sp: Span) -> P<ast::Expr> {
debug!("building test vector from {} tests", cx.test_cases.len());
let ecx = &cx.ext_cx;
ecx.expr_vec_slice(
ecx.expr_array_ref(
sp,
cx.test_cases
.iter()