blob: 1bc456e565b56386bae7654f9c8a23ea9c10f5bd [file] [log] [blame] [edit]
//@ revisions: rpass cfail
trait Tr
where
(Self::Arr,): Sized,
{
type Arr;
const C: usize = 0;
}
impl Tr for str {
#[cfg(rpass)]
type Arr = [u8; 8];
#[cfg(cfail)]
type Arr = [u8; Self::C];
//[cfail]~^ ERROR cycle detected when
}
fn main() {}