{"ast_node_type":"function","tokens":[{"end":43,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn expect_type(&self) -> Ty<'tcx> {
        self.as_type().expect("expected a type, but found a const")