Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-21837.rs
blob: 213119bd21c438148c358b7a7fb6f91535b537d8 [
file
] [
log
] [
blame
]
pub
trait
Bound
{}
pub
struct
Foo
<
T
:
Bound
>(
T
);
pub
trait
Trait1
{}
impl
<
T
:
Bound
>
Trait1
for
Foo
<
T
>
{}
pub
trait
Trait2
{}
impl
<
T
>
Trait2
for
Foo
<
T
>
{}
//~ ERROR the trait bound `T: Bound` is not satisfied
fn
main
()
{}