Add the span of the operator itself to ast::BinOp.
This commit is contained in:
parent
4be79d6acd
commit
2e888d0341
20 changed files with 69 additions and 65 deletions
|
@ -372,7 +372,7 @@ impl<'a, 'tcx> CFGBuilder<'a, 'tcx> {
|
|||
expr_exit
|
||||
}
|
||||
|
||||
ast::ExprBinary(op, ref l, ref r) if ast_util::lazy_binop(op) => {
|
||||
ast::ExprBinary(op, ref l, ref r) if ast_util::lazy_binop(op.node) => {
|
||||
//
|
||||
// [pred]
|
||||
// |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue