ICE when using RTN in the where clause of a trait #132159
Labels
C-bug
Category: This is a bug.
F-return_type_notation
`#[feature(return_type_notation)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-bisection
Status: a bisection has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Note that rewriting the RTN to be an associated type bound like
trait Service: LocalService<call(..): Send>
fixes the ICE.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: