Broken MIR ICE when returning dyn* Trait
from a function
#104501
Labels
C-bug
Category: This is a bug.
F-dyn_star
`#![feature(dyn_star)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(playground)
This happens whether or not the returned type implements the trait in question.
Meta
1.67.0-nightly (2022-11-15 a00f8ba7fcac1b273416)
Error output
Backtrace
@rustbot modify labels +F-dyn_star
The text was updated successfully, but these errors were encountered: