bors ad9ed40e7f auto merge of #17264 : bkoropoff/rust/issue-17252, r=nick29581
Recursive items are currently detected in the `check_const` pass which runs after type checking.  This means a recursive static item used as an array length will cause type checking to blow the stack.  This PR separates the recursion check out into a separate pass which is run before type checking.

Closes issue #17252

r? @nick29581
2014-09-17 14:06:19 +00:00
..
2014-09-16 14:37:48 -07:00
2014-09-16 14:37:48 -07:00
2014-09-16 14:37:48 -07:00
2014-09-17 16:53:20 +12:00