fn entry_point_type(sess: &Session, item: &Item, depth: usize) -> EntryPointType