Rename BindingAnnotation
to BindingMode
This commit is contained in:
parent
d19e48d79a
commit
2a4624ddd1
81 changed files with 222 additions and 256 deletions
|
@ -377,7 +377,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
if p.span == self.expr_span {
|
||||
self.pat = Some(p);
|
||||
}
|
||||
if let hir::PatKind::Binding(hir::BindingAnnotation::NONE, _, i, sub) = p.kind {
|
||||
if let hir::PatKind::Binding(hir::BindingMode::NONE, _, i, sub) = p.kind {
|
||||
if i.span == self.expr_span || p.span == self.expr_span {
|
||||
self.pat = Some(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue