Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
incremental
/
issue-54242.rs
blob: 1c700d44dd80b7be19a54f8032a2e6c8677becfa [
file
] [
log
] [
blame
]
// revisions: rpass cfail
trait
Tr
{
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 const-evaluating
}
fn
main
()
{}