1
Fork 0

replace NodeId with HirId in infer::SubregionOrigin

This commit is contained in:
ljedrz 2019-06-19 15:33:32 +02:00
parent b710e08868
commit f6eb39203b
2 changed files with 3 additions and 3 deletions

View file

@ -265,7 +265,7 @@ pub enum SubregionOrigin<'tcx> {
DerefPointer(Span),
/// Closure bound must not outlive captured variables
ClosureCapture(Span, ast::NodeId),
ClosureCapture(Span, hir::HirId),
/// Index into slice must be within its lifetime
IndexSlice(Span),