]> git.lizzy.rs Git - rust.git/commit
Given `<expr> as Box<Trait>`, infer that `Box<_>` is expected type for `<expr>`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 6 Feb 2015 16:59:56 +0000 (17:59 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 9 Feb 2015 18:55:59 +0000 (19:55 +0100)
commitd9393c21d788347a993108021e8395d0ff992d03
treefdaf6e2d0fc2746f844e44eee65c4e16db4c18eb
parent0ba9e1fa52627404a1e5b90f745f96a872a0c564
Given `<expr> as Box<Trait>`, infer that `Box<_>` is expected type for `<expr>`.
src/librustc_typeck/check/vtable.rs