diff options
| author | bors <bors@rust-lang.org> | 2020-05-02 06:51:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-02 06:51:08 +0000 |
| commit | 08dfbfb61871a83f720c6e97a3b737076e89fe3e (patch) | |
| tree | a1b6f7a9f7aa9a1dfe684b805b4944161a8e6827 /src/rustllvm/RustWrapper.cpp | |
| parent | dae90c195989b09475b6c0225a3018cbd7afa587 (diff) | |
| parent | 05a872df2ba4942f86141bfdbefd171eb419a3cc (diff) | |
| download | rust-08dfbfb61871a83f720c6e97a3b737076e89fe3e.tar.gz rust-08dfbfb61871a83f720c6e97a3b737076e89fe3e.zip | |
Auto merge of #70170 - eddyb:wf-early-exit, r=nikomatsakis
wf: handle "livelock" checking before reaching `WfPredicates::compute`. For `wf::obligations`'s "livelock" handling, this PR shouldn't cause any behavioral changes, as the check moved to it should be equivalent to the old one in `WfPredicates::compute`. However, it fixes #70168 by making *other* users of `WfPredicates::compute` (that is, `wf::predicate_obligations` and `compute`'s own upvar handling) correct for `ty::Infer`, in that they now get a `WellFormed(ty::Infer(_))` obligation instead of silently ignoring the type. r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
