]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/borrowck/check_loans.rs
auto merge of #15742 : pnkfelix/rust/fsk-fix-15019, r=pcwalton
[rust.git] / src / librustc / middle / borrowck / check_loans.rs
index fecd40dae016a441978c4365e186422f978f0b3f..2aa0818b177cf49abe2bdffafeaa06498e7f21c9 100644 (file)
@@ -172,7 +172,7 @@ pub fn each_issued_loan(&self, scope_id: ast::NodeId, op: |&Loan| -> bool)
         //! are issued for future scopes and thus they may have been
         //! *issued* but not yet be in effect.
 
-        self.dfcx_loans.each_bit_on_entry_frozen(scope_id, |loan_index| {
+        self.dfcx_loans.each_bit_on_entry(scope_id, |loan_index| {
             let loan = &self.all_loans[loan_index];
             op(loan)
         })
@@ -271,7 +271,7 @@ pub fn loans_generated_by(&self, scope_id: ast::NodeId) -> Vec<uint> {
         //! we encounter `scope_id`.
 
         let mut result = Vec::new();
-        self.dfcx_loans.each_gen_bit_frozen(scope_id, |loan_index| {
+        self.dfcx_loans.each_gen_bit(scope_id, |loan_index| {
             result.push(loan_index);
             true
         });