Sign in
rust
/
rust
/
dc9879cb3d3446c41b6d7d6813b7bfd17da1134f
/
.
/
tests
/
ui
/
generic-associated-types
/
multiple-type-params-with-unmet-bounds.rs
blob: b127b3f6e1f03f044dfb7cc7f2225361a7b8c976 [
file
] [
log
] [
blame
]
trait
Trait
{
type
P
<
T
:
Copy
,
U
:
Copy
>;
}
impl
Trait
for
()
{
type
P
<
T
:
Copy
,
U
:
Copy
>
=
();
}
fn
main
()
{
let
_
:
<()
as
Trait
>::
P
<
String
,
String
>;
//~^ ERROR the trait bound `String: Copy` is not satisfied
}