fn get_features(
    sess: &Session,
    span_handler: &Handler,
    krate_attrs: &[Attribute]
) -> Features