diff options
| author | bors <bors@rust-lang.org> | 2016-11-06 06:22:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-06 06:22:38 -0800 |
| commit | 5fe733a15945b7599fdf820ceec1597259dd8490 (patch) | |
| tree | 9ff1a6b7621f81147003c0d5c319c8ff91450059 /src/test/run-pass/thinlto | |
| parent | 161f2623bd078017dfc9a06bd3417b36f6a58de9 (diff) | |
| parent | aee1ee3cc298c32a22a5730d7133b64e950a8dec (diff) | |
| download | rust-5fe733a15945b7599fdf820ceec1597259dd8490.tar.gz rust-5fe733a15945b7599fdf820ceec1597259dd8490.zip | |
Auto merge of #37404 - eddyb:lazy-4, r=nikomatsakis
[4/n] rustc: harden against InferOk having obligations in more cases. _This is part of a series ([prev](https://github.com/rust-lang/rust/pull/37402) | [next](https://github.com/rust-lang/rust/pull/37408)) of patches designed to rework rustc into an out-of-order on-demand pipeline model for both better feature support (e.g. [MIR-based](https://github.com/solson/miri) early constant evaluation) and incremental execution of compiler passes (e.g. type-checking), with beneficial consequences to IDE support as well. If any motivation is unclear, please ask for additional PR description clarifications or code comments._ <hr> This adds more asserts that `InferOk` results have no obligations, pending completion of #32730. Each of these could accidentally drop obligations on the floor if they start getting produced by unification, and a future change does just that, in order to produce a "shallow success" (hopefully leading to ambiguities during trait selection), _without_ the possibility of an eventual success - mostly guarded by ICEs for now.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
