Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
type
/
type-check
/
issue-40294.rs
blob: 5493a4e5f10a817d4f0eb924537a44ef8e6b2193 [
file
] [
log
] [
blame
]
trait
Foo
:
Sized
{
fn
foo
(
self
);
}
fn
foo
<
'a,'
b
,
T
>(
x
:
&
'a T, y: &'
b T
)
where
&
'
a T
:
Foo
,
//~ ERROR type annotations needed
&
'
b T
:
Foo
{
x
.
foo
();
y
.
foo
();
}
fn
main
()
{
}