]> git.lizzy.rs Git - rust.git/commitdiff
reorder 'gcx and 'tcx in `BorrowckErrors` impl
authorNiko Matsakis <niko@alum.mit.edu>
Thu, 26 Oct 2017 13:49:29 +0000 (09:49 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 31 Oct 2017 16:41:40 +0000 (12:41 -0400)
src/librustc_mir/util/borrowck_errors.rs

index 5cc960face9d131b3b37ae0c55014d7e6f071ee8..a4a7699abda59ace31aeaba96bb50adc9dbb3868 100644 (file)
@@ -441,7 +441,7 @@ fn cannot_capture_in_long_lived_closure(&self,
     }
 }
 
-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<MultiSpan>>(&'a self,
                                                          sp: S,
                                                          msg: &str,