]> git.lizzy.rs Git - rust.git/commit
Use a TypedArena rather than an Arena for the backing storage of variance analysis.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 2 Feb 2015 00:04:59 +0000 (01:04 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 5 Feb 2015 23:14:17 +0000 (00:14 +0100)
commit50c674211390ea56e8c54d8d52ee1e3a6a8f675e
tree880d700512952607f96bbbe272dfa51f05bd761a
parent189930fcae287565dcef856ae8d60a83190a4b92
Use a TypedArena rather than an Arena for the backing storage of variance analysis.

(The code was not using the main feature of Arena in the first place,
since all of the `alloc` calls were on the same type.
src/librustc_typeck/variance.rs