Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upNone.unwrap() in FnCtxt::instantiate_anon_types #44437
Comments
sfackler
added
the
I-ICE
label
Sep 8, 2017
TimNN
added
A-impl-trait
C-bug
T-compiler
A-generators
labels
Sep 17, 2017
This comment has been minimized.
This comment has been minimized.
Looks like your stack trace is useless and the unwrap isn't in the stack trace even with debug information (this is were we need rust-lang/rfcs#2091 (comment)) . I think the following code is the unwrap which failed, however I can't be sure without doing a debug build of rustc. This is definitely not related to generators though. rust/src/librustc_typeck/check/mod.rs Line 1928 in af7de7b |
This comment has been minimized.
This comment has been minimized.
|
Arnavion
changed the title
None.unwrap() in rustc_typeck::check::generator_interior::InteriorVisitor::visit_body
None.unwrap() in FnCtxt::instantiate_anon_types
Oct 14, 2017
This comment has been minimized.
This comment has been minimized.
with lines:
|
This comment has been minimized.
This comment has been minimized.
@Arnavion I believe this has been fixed. Can you try on the latest nightly and confirm? |
This comment has been minimized.
This comment has been minimized.
Yes, looks like it. I don't have the original code that I produced the reduced case from, so I'll close this. Thanks. |
Arnavion commentedSep 8, 2017
•
edited
foo/src/main.rs
bar/src/lib.rs
Edit: Removed useless stack trace. Better stack trace in second comment.