get_thrown_type

Function get_thrown_type 

Source
pub fn get_thrown_type(
    resolve: &Resolve,
    return_type: Option<Type>,
) -> Option<(Option<&Type>, Option<&Type>)>
Expand description

Utility function for deducing whether a type can throw