// Test syntax checks for `type` keyword. fn f() {} pub fn main() { f(); //~ ERROR expected expression, found keyword `type` }