Nightly #![feature(generic_const_exprs)]
: cycle detected when building an abstract representation for the const argument
#106420
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
I-cycle
Issue: A query cycle occurred while none was expected
requires-incomplete-features
This issue requires the use of incomplete features.
requires-nightly
This issue requires a nightly compiler in some way.
Code:
Error:
To work around, replace
{A as u32}
withA
.The same issue happens with
<() as Foo<{A as u32}>>::T: Sized,
.May be related to #106419 ?
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: