Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
type
/
type-ascription-with-fn-call.rs
blob: 2bd2efa4d3832b16e645830b3a279c3241ab8ebd [
file
] [
log
] [
blame
]
#![
feature
(
type_ascription
)]
fn
main
()
{
f
()
:
f
();
//~ ERROR expected type, found function
}
fn
f
()
{}