{"ast_node_type":"function","tokens":[{"end":77,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn ty_layout(&self, ty: Ty<'tcx>) -> Result<Layout<'tcx>, B::Error> {
    /// Get the layout of a type.
        let layout = self.layout_of(ty)?.layout;