pub fn ty_path(ty: &P<Ty>) -> &Path {
    if let TyKind::Path(_, ref path) = ty.node {
        path
    } else {
        unimplemented!();
    }
}
/// Gets the path to a type.
Gets the path to a type.
Gets the path to a type .
pub fn ty_path(ty: &P<Ty>) -> &Path {
    if let TyKind::Path(_, ref path) = ty.node {
        path
    } else {
        unimplemented!();
    }
}
pub fn ty_path ( ty : & P < Ty > ) -> & Path { if let TyKind :: Path ( _ , ref path ) = ty . node { path } else { unimplemented ! ( ) ; } }
Gets the path to a type.
Gets the path to a type .
ty
&P<Ty>
ty
&P<Ty>