Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
wf
/
issue-48638.rs
blob: f078431033216c67050d8fa4a663f762e8b74d08 [
file
] [
log
] [
blame
]
// check-pass
pub
trait
D
{}
pub
struct
DT
;
impl
D
for
DT
{}
pub
trait
A
<
R
:
D
>:
Sized
{
type
AS
;
}
pub
struct
As
<
R
:
D
>(
R
);
pub
struct
AT
;
impl
<
R
:
D
>
A
<
R
>
for
AT
{
type
AS
=
As
<
R
>;
}
#[
repr
(
packed
)]
struct
S
(<
AT
as
A
<
DT
>>::
AS
);
fn
main
()
{}