ICE: expected async fn in trait to return an RPITIT
#136286
Labels
C-bug
Category: This is a bug.
F-async_fn_in_dyn_trait
`#![feature(async_fn_in_dyn_trait)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-incomplete-features
This issue requires the use of incomplete features.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
snippet:
Version information
Possibly related line of code:
rust/compiler/rustc_trait_selection/src/traits/dyn_compatibility.rs
Lines 907 to 919 in e6f12c8
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc --edition=2024
Program output
@rustbot label +F-async_fn_in_dyn_trait
The text was updated successfully, but these errors were encountered: