Function forc_pkg::wrong_program_type
source · [−]pub fn wrong_program_type(
project_name: &str,
expected_type: TreeType,
parse_type: TreeType
) -> ErrorExpand description
Format an error message if an incorrect program type is present.