parse_check_cfg in rustc_interface::interface - Rust (original) (raw)

rustc_interface::interface

Function parse_check_cfg

Source

pub(crate) fn parse_check_cfg(
    dcx: DiagCtxtHandle<'_>,
    specs: Vec<String>,
) -> CheckCfg

Expand description

Converts strings provided as --check-cfg [specs] into a CheckCfg.