Sign in
rust
/
rust
/
a22eaef5e5772feb3115a2425ff7fd8c5d2f6a74
/
.
/
tests
/
incremental
/
issue-54242.rs
blob: 9848b9380f2e7d1880260236ef3b9613c18351c7 [
file
]
//@ revisions: rpass bfail
trait
Tr
where
(
Self
::
Arr
,):
Sized
,
{
type
Arr
;
const
C
:
usize
=
0
;
}
impl
Tr
for
str
{
#[
cfg
(
rpass
)]
type
Arr
=
[
u8
;
8
];
#[
cfg
(
bfail
)]
type
Arr
=
[
u8
;
Self
::
C
];
//[bfail]~^ ERROR cycle detected when
}
fn
main
()
{}