fn allow_unstable<'a>(
    sess: &'a Session,
    attrs: &'a [Attribute],
    symbol: Symbol
) -> impl Iterator<Item = Symbol> + 'a