{"ast_node_type":"other","tokens":[{"end":87,"kind":"keyword","start":0,"text":"if"}]}
        if self.variant_index.is_some() && !matches!(elem, ProjectionElem::Field(..)) {
    {
            bug!("cannot use non field projection on downcasted place")