[][src]Function c2rust_refactor::reflect::can_reflect_path

pub fn can_reflect_path(hir_map: &Map, id: NodeId) -> bool

Wrapper around reflect_path that checks first to ensure its argument is the sort of def that has a path. reflect_path will panic if called on a def with no path.