diff options
Diffstat (limited to 'src/test/incremental/issue-54242.rs')
-rw-r--r-- | src/test/incremental/issue-54242.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/incremental/issue-54242.rs b/src/test/incremental/issue-54242.rs deleted file mode 100644 index 806c84152..000000000 --- a/src/test/incremental/issue-54242.rs +++ /dev/null @@ -1,20 +0,0 @@ -// 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 evaluating type-level constant -} - -fn main() {} |