Fix nit in rustc_session::options

This commit is contained in:
Joshua Nelson 2021-05-02 10:08:08 -04:00
parent 89ebad52a8
commit d5bda3c4fe

View file

@ -286,7 +286,7 @@ macro_rules! options {
pub type $setter_name = fn(&mut $struct_name, v: Option<&str>) -> bool;
pub const $stat: &[(&str, $setter_name, &str, &str)] =
&[ $( (stringify!($opt), crate::options::parse::$opt, $crate::options::desc::$parse, $desc) ),* ];
&[ $( (stringify!($opt), $crate::options::parse::$opt, $crate::options::desc::$parse, $desc) ),* ];
// Sometimes different options need to build a common structure.
// That structure can kept in one of the options' fields, the others become dummy.