Uh oh!
There was an error while loading. Please reload this page.
resolve: Recover from indeterminate macro resolutions more agressively - #53587
resolve: Recover from indeterminate macro resolutions more agressively#53587petrochenkov wants to merge 1 commit into
Conversation
If we are in "forced resolution" mode and in-module resolution is indeterminate, don't give up and continue searching in outer scopes
rust-highfive
commented
Aug 22, 2018
(rust_highfive has picked a reviewer for you, use r? to override) |
petrochenkov
commented
Aug 22, 2018
alexcrichton
commented
Aug 22, 2018
@bors: r+ |
bors
commented
Aug 22, 2018
📌 Commit c9c79b7 has been approved by |
petrochenkov
commented
Aug 22, 2018
Nah, this is not a good solution, easy way to get compiling code with potentially inconsistent resolutions. |
The root issue here is that derive helper attributes like Ideally, forced resolution should be an error recovery measure and should never result in successful compilation, except for the I'll return to this until beta/stable, but for now it's blocked by some other work from #50911 (comment). |
norru
commented
Aug 29, 2018
Has consensus been reached on this resolution yet? I have been unable to upgrade Nightly past 2018-08-15 (build failures on dependencies). |
petrochenkov
commented
Aug 29, 2018
@norru In the meantime, I'd recommend to implement a workaround in |
norru
commented
Aug 30, 2018
Hi @petrochenkov, thanks for the extensive explanation. I am not willing/keen on using a patched version of https://github.com/sfackler/log4rs so I'll stick to the old Nightly. How long do you think is going to take, for the sake of my own planning? @sfackler FYI |
nikomatsakis
commented
Sep 6, 2018
@petrochenkov Is this PR still blocked? |
petrochenkov
commented
Sep 6, 2018
This PR can be closed actually, |
Boscop
commented
Sep 13, 2018
I'm running into this issue with both |
petrochenkov
commented
Sep 13, 2018
@petrochenkov thank you for being so responsive. Everyone working with rocket and log4rs owes you one 🍺 |
If we are in "forced resolution" mode and in-module resolution is indeterminate, don't give up and continue searching in outer scopes.
Fixes#53481