Change:
// run-pass #![allow(warnings)] <ins> #![feature(generators)] </ins> use std::fmt::Debug;

Discussion:
Rustc 1.33 panicked while compiling a code that was working well on 1.32. I tried this code: This happened: : Backtrace:
After some testing, this is the lines that cause the compiler to crash.
can you post a reduced test case or the full source including and the module files?
Simple project that causes this:
Bisected, the cause of the regression is cc
: just did a test case (thanks!).
triage: P-high.
assigning to self based on stack trace and related work on region-vid conversion issues, and removing nomination tag.
Is this likely to be in a 1.33.1 release?
If we do a release and the fix is not risky to land in a point release probably yes, but there aren't other point release worthy issues to fix so I'm not sure if we'll end up doing one.
This is currently blocking us from updating to 1.33.
Judging from our code and the code above, it might be related to .
This project has been deleted. Can someone either repost it, or share a copy with me?
The comment below is now posted separately as . Not sure if it triggers the same bug, but I found this issue (in details below) while searching for a solution. <detailsThis code panics on 1.33 - 1.35, but does not panic on 1.32: On 1.32: On 1.35 nightly (today): </details--Bryan
based on the stack trace, I do not think that is the exact same bug. Thanks for investigating; Lets make sure to file a separate issue for it!
also, your code seems to be missing the definition for ? (I recommend posting reproduction in the playpen and seeing if they reproduce there, for ease of sharing and also catching little cut-and-paste omissions along the way.)
I probably should have pinged when I wrote that question. Let's seeing if pinging here helps.
Since the sample project that causes this was taken down, I guessed I will take an example from either or and use that as the basis for investigation going forward. in particular seems to have the best bet of having enough information (namely a dependencies section) to allow easy reproduction.
I've just checked on Rust 1.34.1 and I confirm the bug is still present.

and told me yesterday at the Paris meetup to bump this issue. I'll try to create a minimal testcase later today.
cc
Compiler triage: It seems like are still missing a case for reproduction?
do you still have a local checkout of repro?
by the way, were you able to create the minimal testcase you mentioned ?
nope :(
I created a simple (but not minimal) based on the initial comment, and checked it indeed ICEs on nightly with the expected "cannot convert to a region vid" error. I haven't tried minimizing or bisecting, however (but since very similar errors had been fixed by , I thought this issue here would have been fixed at the same time — so maybe it won't be bisected to the Universes PR after all). edit: I also ran a quick bisect on it, and it started ICEing (with a different error location) in which is IIRC the one where Universes landed). A minimization would be very helpful indeed.
if I change to no longer ICE (or if I inline ), I get this error. Do you think you can have a repro that doesn't error when the ICE is gone?
Got it:
Reduced: Since this involves IntoIterator, it makes me think of another recent ICE involving universes, but I can't find the exact issue right now.
Maybe ?
I manually checked the latest nightly on the bigger repro project, and we have the expected FnMut error instead of the ICE . The minimized code above (thanks again doesn't ICE either.