replace NodeId with HirId in infer::SubregionOrigin
This commit is contained in:
parent
b710e08868
commit
f6eb39203b
2 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue