Skip to content

Commit 6bed7e1

Browse files
committed
Fix error in env.rs
1 parent e3a669c commit 6bed7e1

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer/outlives

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/outlives/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl<'a, 'tcx> OutlivesEnvironment<'tcx> {
158158
/// `RegionConstraintData`.)
159159
pub fn add_outlives_bounds<I>(
160160
&mut self,
161-
infcx: Option<&mut InferCtxt<'a, 'tcx>>,
161+
mut infcx: Option<&mut InferCtxt<'a, 'tcx>>,
162162
outlives_bounds: I,
163163
) where
164164
I: IntoIterator<Item = OutlivesBound<'tcx>>,

0 commit comments

Comments
 (0)