rustc_lint::early::diagnostics::check_cfg

Function unexpected_cfg_name

Source
pub(super) fn unexpected_cfg_name(
    sess: &Session,
    tcx: Option<TyCtxt<'_>>,
    (name, name_span): (Symbol, Span),
    value: Option<(Symbol, Span)>,
) -> UnexpectedCfgName