Skip to content

Commit da935e9

Browse files
spastorinopnkfelix
authored andcommitted
Remove redundant outlives declarations
1 parent 82e853e commit da935e9

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_mir/borrow_check/nll/type_check

1 file changed

+2
-2
lines changed

src/librustc_mir/borrow_check/nll/type_check/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ enum FieldAccessError {
202202
/// The sanitize_XYZ methods here take an MIR object and compute its
203203
/// type, calling `span_mirbug` and returning an error type if there
204204
/// is a problem.
205-
struct TypeVerifier<'a, 'b: 'a, 'gcx: 'b + 'tcx, 'tcx: 'b> {
205+
struct TypeVerifier<'a, 'b: 'a, 'gcx: 'tcx, 'tcx: 'b> {
206206
cx: &'a mut TypeChecker<'b, 'gcx, 'tcx>,
207207
mir: &'a Mir<'tcx>,
208208
last_span: Span,
@@ -611,7 +611,7 @@ impl<'a, 'b, 'gcx, 'tcx> TypeVerifier<'a, 'b, 'gcx, 'tcx> {
611611
/// constraints needed for it to be valid and well-typed. Along the
612612
/// way, it accrues region constraints -- these can later be used by
613613
/// NLL region checking.
614-
struct TypeChecker<'a, 'gcx: 'a + 'tcx, 'tcx: 'a> {
614+
struct TypeChecker<'a, 'gcx: 'tcx, 'tcx: 'a> {
615615
infcx: &'a InferCtxt<'a, 'gcx, 'tcx>,
616616
param_env: ty::ParamEnv<'gcx>,
617617
last_span: Span,

0 commit comments

Comments
 (0)