Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
ui
/
type-alias-impl-trait
/
issue-63279.rs
blob: b97192a2aed4a19aa4b2eb86d6227c57fe837875 [
file
] [
log
] [
blame
]
// compile-flags: -Zsave-analysis
#![
feature
(
type_alias_impl_trait
)]
type
Closure
=
impl
FnOnce
();
//~ ERROR: type mismatch resolving
fn
c
()
->
Closure
{
||
->
Closure
{
||
()
}
}
fn
main
()
{}