Compiler panics while trying to implement DispatchFromDyn
#71036
Labels
C-bug
Category: This is a bug.
F-dispatch_from_dyn
`#![feature(dispatch_from_dyn)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I was playing with
DisplatchFromDyn
while I encountered aThe simplest example I have producing the bug is
Here is a link to the playground.
It works if I remove the
Inner
struct and put the&'a T
directly inLocal
.The complete backtrace is
This issue has been assigned to @doctorn via this comment.
The text was updated successfully, but these errors were encountered: