Sign in
fuchsia
/
third_party
/
rust
/
244da22fabd9fa677bbd0ac601a88e5ca6917526
/
.
/
tests
/
ui
/
traits
/
issue-85735.rs
blob: fb387a9c909657066c9d9fbe0a617ae46f03d05d [
file
] [
log
] [
blame
]
// Regression test for the invalid suggestion in #85735 (the
// underlying issue #21974 still exists here).
trait
Foo
{}
impl
<
'a, '
b
,
T
>
Foo
for
T
where
T
:
FnMut
(&
'
a
()),
//~^ ERROR: type annotations needed
T
:
FnMut
(&
'
b
()),
{
}
fn
main
()
{}