We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
reported
1 parent 19ca9e1 commit 3b1a7b5Copy full SHA for 3b1a7b5
src/librustc/middle/borrowck/check_loans.rs
@@ -18,7 +18,6 @@
18
// 4. moves do not affect things loaned out in any way
19
20
21
-use std::hashmap::HashSet;
22
use mc = middle::mem_categorization;
23
use middle::borrowck::*;
24
use middle::moves;
@@ -37,7 +36,6 @@ struct CheckLoanCtxt<'a> {
37
36
dfcx_loans: &'a LoanDataFlow,
38
move_data: @move_data::FlowedMoveData,
39
all_loans: &'a [Loan],
40
- reported: @mut HashSet<ast::NodeId>,
41
}
42
43
impl<'a> Visitor<()> for CheckLoanCtxt<'a> {
@@ -75,7 +73,6 @@ pub fn check_loans(bccx: &BorrowckCtxt,
75
73
dfcx_loans: dfcx_loans,
76
74
move_data: @move_data,
77
all_loans: all_loans,
78
- reported: @mut HashSet::new(),
79
};
80
81
clcx.visit_block(body, ());
0 commit comments