From b2c248efea07ec8b48386845fad9e5b6f46dc644 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Thu, 26 Oct 2017 09:49:29 -0400 Subject: [PATCH] reorder 'gcx and 'tcx in `BorrowckErrors` impl --- src/librustc_mir/util/borrowck_errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/util/borrowck_errors.rs b/src/librustc_mir/util/borrowck_errors.rs index 5cc960face9d..a4a7699abda5 100644 --- a/src/librustc_mir/util/borrowck_errors.rs +++ b/src/librustc_mir/util/borrowck_errors.rs @@ -441,7 +441,7 @@ pub trait BorrowckErrors { } } -impl<'b, 'tcx, 'gcx> BorrowckErrors for TyCtxt<'b, 'tcx, 'gcx> { +impl<'b, 'gcx, 'tcx> BorrowckErrors for TyCtxt<'b, 'gcx, 'tcx> { fn struct_span_err_with_code<'a, S: Into>(&'a self, sp: S, msg: &str,