Closed
Description
auto-reduced (treereduce-rust):
trait A {
fn b() -> impl IntoIterator<Item = ()>;
}
impl A<()> for dyn A {}
original:
trait A {
fn b() -> impl IntoIterator<Item = ()>;
}
impl A<()> for dyn A {}
pub fn main() {}
Version information
rustc 1.87.0-dev
binary: rustc
commit-hash: 85abb276361c424d64743c0965242dd0e7b866d1
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.87.0-dev
LLVM version: 20.1.0
Metadata
Metadata
Assignees
Labels
Area: trait objects, vtable layoutCategory: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Status: This bug is tracked inside the repo by a `known-bug` test.Relevant to the compiler team, which will review and decide on the PR/issue.This issue requires a build of rustc or tooling with debug-assertions in some way