fn is_self_type(path: &[Segment], namespace: Namespace) -> bool