Sign in
◑
Theme
rust
/
rust
/
21b4ef650f016cc2ddcfa29c9ad2bd8f2d4e359d
/
.
/
tests
/
ui
/
structs
/
struct-path-alias-bounds.rs
blob: 1e2c4b836a132ab0545d52d55a2f747a4f29f3dc [
file
]
// issue #36286
struct
S
<
T
:
Clone
>
{
a
:
T
}
struct
NoClone
;
type
A
=
S
<
NoClone
>;
fn
main
()
{
let
s
=
A
{
a
:
NoClone
};
//~^ ERROR the trait bound `NoClone: Clone` is not satisfied
}