Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
98dd6c7e8f33966221216200182175672294a719
/
.
/
tests
/
incremental
/
issue-61323.rs
blob: b7423c81fc163327243684831365591e62d41a96 [
file
] [
log
] [
blame
]
//@ revisions: rpass cfail
enum
A
{
//[cfail]~^ ERROR 3:1: 3:7: recursive types `A` and `C` have infinite size [E0072]
B
(
C
),
}
#[
cfg
(
rpass
)]
struct
C
(
Box
<
A
>);
#[
cfg
(
cfail
)]
struct
C
(
A
);
fn
main
()
{}