Function forc_pkg::wrong_program_type

source ยท
pub fn wrong_program_type(
    project_name: &str,
    expected_types: &[TreeType],
    parse_type: TreeType,
) -> Error
Expand description

Format an error message if an incorrect program type is present.