Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f62a35bae82dd0c5ff9dedd83fe2cfd74b67792
/
.
/
tests
/
ui
/
generic-associated-types
/
mismatched-where-clause-regions.rs
blob: 8caf5317693ee0da26ddc8c33b5bc8723c5b6236 [
file
] [
log
] [
blame
]
trait
Foo
{
type
T
<
'a1, '
b1
>
where
'a1: '
b1
;
}
impl
Foo
for
()
{
type
T
<
'a2, '
b2
>
=
()
where
'b2: '
a2
;
//~^ ERROR impl has stricter requirements than trait
}
fn
main
()
{}