Felix S. Klock II 5ef6182102 Add check for unbounded due to non-regular types in dropck.
Count recursion across phantom data separately from all recursion,
and treat `Box<T>` just as if it were carrying `PhantomData<T>`.

(Regression tests are in followup commit.)

The practical effect of this is just to increment the `xref_depth`
counter, the same way that `Vec` and other types carrying
`PhantomData` do.
2015-03-01 11:15:32 +01:00
..
2015-02-27 13:41:49 -08:00
2015-02-27 13:41:49 -08:00
2015-02-27 13:41:49 -08:00
2015-02-26 07:21:26 +02:00
2015-02-27 01:48:49 +01:00