reorder 'gcx and 'tcx in BorrowckErrors impl

This commit is contained in:
Niko Matsakis 2017-10-26 09:49:29 -04:00
parent 29cdd73062
commit b2c248efea

View file

@ -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,