Skip to content

Commit 4d2c546

Browse files
committed
---
yaml --- r: 195911 b: refs/heads/beta c: 0705e6a h: refs/heads/master i: 195909: e79d3c6 195907: 4735cb4 195903: 646e8b1 v: v3
1 parent f766e5d commit 4d2c546

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: aa1398176eed660a64bbbd4dfd1e31e96a0f93ba
32+
refs/heads/beta: 0705e6a12e57f89cb9847d85ddd0b6a6bc03ba8f
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 9de34a84bb300bab1bf0227f577331620cd60511

branches/beta/src/librustc/middle/expr_use_visitor.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,11 @@ impl<'d,'t,'tcx,TYPER:mc::Typer<'tcx>> ExprUseVisitor<'d,'t,'tcx,TYPER> {
885885
}
886886
}
887887

888+
// When this returns true, it means that the expression *is* a
889+
// method-call (i.e. via the operator-overload). This true result
890+
// also implies that walk_overloaded_operator already took care of
891+
// recursively processing the input arguments, and thus the caller
892+
// should not do so.
888893
fn walk_overloaded_operator(&mut self,
889894
expr: &ast::Expr,
890895
receiver: &ast::Expr,

0 commit comments

Comments
 (0)