pub fn lazy_typeval<I>(&self, id: I) -> Result<&'ctx Ty>
    where
        I: Into<NodeId>,
    {
        let ctx = TypeckContext::new(self);
        let result = ctx.lazy_typeval(id);
        if ctx.finish() {
            result
        } else {
            Err(())
        }
    }
/// Determine the type of a node.
///
/// If the node already had its type determined, immediately returns the
/// result of that operation. Otherwise runs the task scheduled in the lazy
/// table.
Determine the type of a node.
If the node already had its type determined, immediately returns the
result of that operation. Otherwise runs the task scheduled in the lazy
table.
Determine the type of a node . If the node already had its type determined immediately returns the result of that operation . Otherwise runs the task scheduled in the lazy table .
pub fn lazy_typeval<I>(&self, id: I) -> Result<&'ctx Ty>
    where
        I: Into<NodeId>,
    {
        let ctx = TypeckContext::new(self);
        let result = ctx.lazy_typeval(id);
        if ctx.finish() {
            result
        } else {
            Err(())
        }
    }
pub fn lazy_typeval < I > ( & self , id : I ) -> Result < & ' ctx Ty > where I : Into < NodeId > , { let ctx = TypeckContext :: new ( self ) ; let result = ctx . lazy_typeval ( id ) ; if ctx . finish ( ) { result } else { Err ( ( ) ) } }
Determine the type of a node.
Determine the type of a node .
&self
id
I
&self
id
I