diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-10-26 09:49:29 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-10-31 12:41:40 -0400 |
| commit | b2c248efea07ec8b48386845fad9e5b6f46dc644 (patch) | |
| tree | 2a295797c2784e6b7f9ba5c03ab21814fe2f38d6 | |
| parent | 29cdd7306206120a52265d633a36193349c7dbd4 (diff) | |
| download | rust-b2c248efea07ec8b48386845fad9e5b6f46dc644.tar.gz rust-b2c248efea07ec8b48386845fad9e5b6f46dc644.zip | |
reorder 'gcx and 'tcx in `BorrowckErrors` impl
| -rw-r--r-- | src/librustc_mir/util/borrowck_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/util/borrowck_errors.rs b/src/librustc_mir/util/borrowck_errors.rs index 5cc960face9..a4a7699abda 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<MultiSpan>>(&'a self, sp: S, msg: &str, |
