pub trait TypeckNode<'ctx, I> {
    fn typeck_node(&self, id: I, expected: &'ctx Ty) -> Result<()>;
}
Expand description

Checks whether a node is of a given type.

Required methods

Implementors