Skip to content

Commit

Permalink
Rollup merge of #84821 - jyn514:fix-nit, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Fix nit in rustc_session::options

Addresses #84802 (comment) - I never actually pushed the commit before that PR got merged.

r? `@Mark-Simulacrum`
  • Loading branch information
Dylan-DPC authored May 2, 2021
2 parents e643e2e + d5bda3c commit 0bc9727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0bc9727

Please sign in to comment.