Skip to main content

type_of_block

Function type_of_block 

Source
pub fn type_of_block(
    block: &Block,
    expected: Option<&Ty>,
    ctx: &mut Ctx<'_>,
) -> Option<Ty>