1 2 3 4 5 6 7 8 9
// run-rustfix #![feature(type_ascription)] fn main() { f() : f(); //~ ERROR expected type, found function } fn f() {}