Sign in
fuchsia
/
third_party
/
rust
/
4ecd94e1215882efde5f003c0042bd72a5f8acb2
/
.
/
src
/
test
/
ui
/
issues
/
issue-2718-a.rs
blob: 188168bb94cea7f6d38e78d6a6b5ccee4eca126c [
file
] [
log
] [
blame
]
pub
struct
SendPacket
<
T
>
{
p
:
T
}
mod
pingpong
{
use
SendPacket
;
pub
type
Ping
=
SendPacket
<
Pong
>;
pub
struct
Pong
(
SendPacket
<
Ping
>);
//~^ ERROR recursive type `pingpong::Pong` has infinite size
}
fn
main
()
{}