Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d5bda3c

Browse files
committedMay 2, 2021
Fix nit in rustc_session::options
1 parent 89ebad5 commit d5bda3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ macro_rules! options {
286286

287287
pub type $setter_name = fn(&mut $struct_name, v: Option<&str>) -> bool;
288288
pub const $stat: &[(&str, $setter_name, &str, &str)] =
289-
&[ $( (stringify!($opt), crate::options::parse::$opt, $crate::options::desc::$parse, $desc) ),* ];
289+
&[ $( (stringify!($opt), $crate::options::parse::$opt, $crate::options::desc::$parse, $desc) ),* ];
290290

291291
// Sometimes different options need to build a common structure.
292292
// That structure can kept in one of the options' fields, the others become dummy.

0 commit comments

Comments
 (0)
Please sign in to comment.