// revisions: rpass cfail
-trait Tr {
+trait Tr
+where
+ (Self::Arr,): Sized,
+{
type Arr;
const C: usize = 0;
type Arr = [u8; 8];
#[cfg(cfail)]
type Arr = [u8; Self::C];
- //[cfail]~^ ERROR cycle detected when simplifying constant
+ //[cfail]~^ ERROR cycle detected when evaluate type-level constant
}
fn main() {}