]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ich/impls_mir.rs
Add "Shallow" borrow kind
[rust.git] / src / librustc / ich / impls_mir.rs
index 313ef054829c5adcd6e7f393d80faebf12f68350..e145e87a0890753330c4bdb733d5b1195d2f545b 100644 (file)
@@ -46,6 +46,7 @@ fn hash_stable<W: StableHasherResult>(&self,
 
         match *self {
             mir::BorrowKind::Shared |
+            mir::BorrowKind::Shallow |
             mir::BorrowKind::Unique => {}
             mir::BorrowKind::Mut { allow_two_phase_borrow } => {
                 allow_two_phase_borrow.hash_stable(hcx, hasher);