]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #17157 : nikomatsakis/rust/occurs-check, r=pcwalton
authorbors <bors@rust-lang.org>
Thu, 11 Sep 2014 12:20:43 +0000 (12:20 +0000)
committerbors <bors@rust-lang.org>
Thu, 11 Sep 2014 12:20:43 +0000 (12:20 +0000)
Avoid ever constructing cyclic types in the first place, rather than detecting them in resolve. This simplifies logic elsewhere in the compiler, in particular on the trait reform branch.

r? @pnkfelix or @pcwalton

cc #5527

1  2 
src/librustc/middle/ty.rs

Simple merge