Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
incremental
/
issue-54242.rs
blob: 25dc7cdf129d5037a494425510a107d5df21ed85 [
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 simplifying constant
}
fn
main
()
{}