Checking that main
's output type implements Termination
doesn't normalize associated types
#88609
Labels
C-bug
Category: This is a bug.
I tried this code:
Playground link
I expected to see both
test
andmain
compile, instead onlytest
compiles, while trying to compilemain
gives this error:Note that the
feature
attribute is only needed for the bound inassert_impl_termination
. The issue withmain
happens both in stable and nightly, with or without the feature.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: