Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
structs
/
struct-path-alias-bounds.rs
blob: ae6ca8082692bc5ae074f16b6c475a60fb81f9f4 [
file
] [
log
] [
blame
]
// 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: std::clone::Clone` is not satisfied
}