Uh oh!
There was an error while loading. Please reload this page.
ty/walk: iterate GenericArgs instead of Tys. - #70164
Conversation
This comment has been minimized.
This comment has been minimized.
eddyb
commented
Mar 19, 2020
eddyb
commented
Mar 19, 2020
I'm doing a perf run with just commit, to assess the impact of collecting
@bors try @rust-timer queue |
rust-timer
commented
Mar 19, 2020
Awaiting bors try build completion |
bors
commented
Mar 19, 2020
⌛ Trying commit 27d6047f0fc787370b110688389204e2c4c57bc6 with merge e8f55d1b486e3355f5cb9b8252d069943e421ac0... |
bors
commented
Mar 19, 2020
☀️ Try build successful - checks-azure |
rust-timer
commented
Mar 19, 2020
Queued e8f55d1b486e3355f5cb9b8252d069943e421ac0 with parent f4c675c, future comparison URL. |
rust-timer
commented
Mar 20, 2020
Finished benchmarking try commit e8f55d1b486e3355f5cb9b8252d069943e421ac0, comparison URL. |
eddyb
commented
Mar 20, 2020
Looks harmless, I guess? I'll finish the PR assuming the first commit is acceptable. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
GenericArgs instead of Tys.GenericArgs instead of Tys.eddyb
commented
Apr 6, 2020
@bors r=nikomatsakis rollup=never (just in case we get another surprise) |
bors
commented
Apr 6, 2020
📌 Commit 626abc7 has been approved by |
Dylan-DPC-zz
commented
Apr 7, 2020
@bors p=1 |
bors
commented
Apr 7, 2020
bors
commented
Apr 7, 2020
☀️ Test successful - checks-azure |
rust-highfive
commented
Apr 7, 2020
📣 Toolstate changed by #70164! Tested on commit 209b2be. 💔 clippy-driver on windows: test-pass → build-fail (cc @mcarton@oli-obk@Manishearth@flip1995@yaahc@phansch@llogiq). |
Tested on commit rust-lang/rust@209b2be. Direct link to PR: <rust-lang/rust#70164> 💔 clippy-driver on windows: test-pass → build-fail (cc @mcarton@oli-obk@Manishearth@flip1995@yaahc@phansch@llogiq). 💔 clippy-driver on linux: test-pass → build-fail (cc @mcarton@oli-obk@Manishearth@flip1995@yaahc@phansch@llogiq).
Uh oh!
There was an error while loading. Please reload this page.
…r=nikomatsakis outlives: ignore lifetimes shallowly found in `ty::FnDef`s. Fixesrust-lang#70917 by restoring the pre-rust-lang#70164 behavior for now. r? @nikomatsakis
Before this PR,
Ty::walkonly iterated overTys, but that's becoming an increasing problem withconstgenerics, asty::Consts inSubstsare missed by it.By working with
GenericArginstead, we can handle bothTys andty::Consts, but alsoty::Regions, which used to require ad-hoc mechanisms such aspush_regions.I've also removed
TraitRef::input_types, as it's both long obsolete, and easy to misuse.