typo
func is now a keyword, so use 'fn' instead