Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
lifetimes
/
lifetime-elision-return-type-trait.rs
blob: ea0d0ccbc553270c9fc290f10065a3080571377d [
file
] [
log
] [
blame
]
trait
Future
{
type
Item
;
type
Error
;
}
use
std
::
error
::
Error
;
fn
foo
()
->
impl
Future
<
Item
=(),
Error
=
Box
<
dyn
Error
>>
{
//~^ ERROR not satisfied
Ok
(())
}
fn
main
()
{}