{"ast_node_type":"import","tokens":[{"end":54,"kind":"keyword","start":0,"text":"//"}]}
        // use the `<Self as ..>` syntax in the error.
        // If the trait in segment is the same as the trait defining the item,
        let is_part_of_self_trait_constraints = def_id.to_def_id() == trait_def_id;