Sign in
fuchsia
/
third_party
/
rust
/
244da22fabd9fa677bbd0ac601a88e5ca6917526
/
.
/
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
}