Function split_extern_opt

Source
pub(crate) fn split_extern_opt<'a>(
    early_dcx: &'a EarlyDiagCtxt,
    unstable_opts: &UnstableOptions,
    extern_opt: &str,
) -> Result<ExternOpt, Diag<'a, FatalAbort>>
Expand description

Breaks out the major components of an --extern argument.

The options field will be a string containing comma-separated options that will need further parsing and processing.