rustc_session::options::parse

Function parse_no_value

Source
pub(crate) fn parse_no_value(slot: &mut bool, v: Option<&str>) -> bool
Expand description

This is for boolean options that don’t take a value, and are true simply by existing on the command-line.

This style of option is deprecated, and is mainly used by old options beginning with no-.