Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
7c547894c76efe9303caa3108754674c39bd901d
/
.
/
tests
/
ui
/
generic-associated-types
/
missing-where-clause-on-trait.rs
blob: c8a9246631107e75f49b611a84b25a2d643a1e77 [
file
] [
log
] [
blame
]
//@ check-fail
trait
Foo
{
type
Assoc
<
'a, '
b
>;
}
impl
Foo
for
()
{
type
Assoc
<
'a, '
b
>
=
()
where
'a: '
b
;
//~^ impl has stricter requirements than trait
}
fn
main
()
{}