]> git.lizzy.rs Git - rust.git/commit
Change HirVec<P<T>> to HirVec<T> in Expr.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 28 Oct 2016 10:16:44 +0000 (21:16 +1100)
committerNicholas Nethercote <nnethercote@mozilla.com>
Mon, 21 Nov 2016 21:18:31 +0000 (08:18 +1100)
commit382d3b043e7eef39f5948bb07dc8df9159dd597c
treec7905322ff9c72555f02507b52a19cf06dca6359
parent80a95e34fe32ca86982607a85e9c5714eb6262d9
Change HirVec<P<T>> to HirVec<T> in Expr.

This changes structures like this:
```
[ ExprArray | 8 | P ]
                  |
                  v
                  [ P | P | P | P | P | P | P | P ]
                    |
                    v
                    [ ExprTup | 2 | P ]
                                    |
                                    v
                                    [ P | P ]
                                      |
                                      v
                                      [ Expr ]
```
to this:
```
[ ExprArray | 8 | P ]
                  |
                  v
                  [ [ ExprTup | 2 | P ] | ... ]
                                    |
                                    v
                                    [ Expr | Expr ]
```
src/librustc/cfg/construct.rs
src/librustc/hir/lowering.rs
src/librustc/hir/mod.rs
src/librustc/hir/print.rs
src/librustc/middle/expr_use_visitor.rs
src/librustc/middle/liveness.rs
src/librustc_const_eval/eval.rs
src/librustc_typeck/check/callee.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/check/regionck.rs