diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-02-24 18:20:41 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-03-01 11:15:32 +0100 |
| commit | 5ef618210232397474a5cf2c7d863e11b07511f5 (patch) | |
| tree | 5fba58dbaa92d9bcb3f700cd4a310b1b1d4b5f7e /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 890293655251c372ea99694c0c9f0795e2663286 (diff) | |
| download | rust-5ef618210232397474a5cf2c7d863e11b07511f5.tar.gz rust-5ef618210232397474a5cf2c7d863e11b07511f5.zip | |
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.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
