pub fn collect_crate_types(
    session: &Session,
    attrs: &[Attribute]
) -> Vec<CrateType>