-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE on generator type check with a must_use type #62506
Comments
Could plausibly be related to #61572 -- but that's basically a total guess on my part. |
Going to have a crack at repro and minimising. |
I believe this is fixed on the latest nightly |
@Aaron1011 You are right, just updated to latest nightly and I can confirm that it's now working. Thanks. Gonna close this. |
minimised repro here: https://github.com/gilescope/clique/tree/repro |
Even better, not needed. |
I think a regression test would still be a good idea. |
Ok - I can do that
…On Thu, 11 Jul 2019 at 02:02, Tyler Mandry ***@***.***> wrote:
I think a regression test would still be a good idea.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#62506?email_source=notifications&email_token=AAGEJCCL446BKQIN26FBODLP62BA5A5CNFSM4H67M67KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZVFJSQ#issuecomment-510285002>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGEJCEAXVIMPKNAEE2N4QDP62BA5ANCNFSM4H67M67A>
.
|
Having used https://github.com/jethrogb/rust-reduce on the code and with a little manual intervention the ICE is now this:
Replacing Output=String with Output=i32 and it passes on that version of rustc. |
ICE is happening on code that awaits a future that has a
Output
type that ismust_use
.Original code:
https://github.com/LucioFranco/clique/blob/fbd960b92a2df78c020c94dee565df2d03cf6291/src/consensus/mod.rs#L93
Fix:
ICE MIR Error:
Rustc version:
Full Backtrace:
The text was updated successfully, but these errors were encountered: