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.
1 parent 9723d3a commit ac2b045Copy full SHA for ac2b045
src/librustc/middle/borrowck/check_loans.rs
@@ -328,18 +328,6 @@ impl check_loan_ctxt {
328
}
329
330
331
- fn is_self_field(cmt: cmt) -> bool {
332
- match cmt.cat {
333
- cat_comp(cmt_base, comp_field(*)) => {
334
- match cmt_base.cat {
335
- cat_special(sk_self) => true,
336
- _ => false
337
- }
338
339
340
341
342
-
343
fn check_assignment(at: assignment_type, ex: @ast::expr) {
344
// We don't use cat_expr() here because we don't want to treat
345
// auto-ref'd parameters in overloaded operators as rvalues.
0 commit comments