Skip to content

Commit

Permalink
Remove unused macro parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed May 1, 2021
1 parent 5cf4499 commit b19c02c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ top_level_options!(
macro_rules! options {
($struct_name:ident, $setter_name:ident, $defaultfn:ident,
$buildfn:ident, $prefix:expr, $outputname:expr,
$stat:ident, $mod_desc:ident, $mod_set:ident,
$stat:ident,
$($( #[$attr:meta] )* $opt:ident : $t:ty = (
$init:expr,
$parse:ident,
Expand Down Expand Up @@ -849,7 +849,7 @@ mod parse {

options! {CodegenOptions, CodegenSetter, basic_codegen_options,
build_codegen_options, "C", "codegen",
CG_OPTIONS, cg_type_desc, cgsetters,
CG_OPTIONS,

// This list is in alphabetical order.
//
Expand Down Expand Up @@ -959,7 +959,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,

options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
build_debugging_options, "Z", "debugging",
DB_OPTIONS, db_type_desc, dbsetters,
DB_OPTIONS,

// This list is in alphabetical order.
//
Expand Down

0 comments on commit b19c02c

Please sign in to comment.