rustc hangs/spins on example involving associated types #63650
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following 5-line example causes
rustc
to spin:The spin happens with or without the
--edition=2018
flag.This may be the same issue as #62430, just an even simpler reproduction case.
Output of
rustc --version --verbose
:Using the Playground, I also reproduced the issue with stable Rust 1.37.0, beta Rust 1.38.0-beta.1, and nightly Rust 1.39.0 2019-08-15.
The text was updated successfully, but these errors were encountered: