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