Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
impl-trait
/
type-alias-impl-trait-in-fn-body.rs
blob: 91be4efd56a154889cd6908b0337802312bffe5b [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
feature
(
type_alias_impl_trait
)]
use
std
::
fmt
::
Debug
;
fn
main
()
{
type
Existential
=
impl
Debug
;
fn
f
()
->
Existential
{}
println
!(
"{:?}"
,
f
());
}