Skip to content

Commit b19c02c

Browse files
committed
Remove unused macro parameters
1 parent 5cf4499 commit b19c02c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_session/src/options.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ top_level_options!(
212212
macro_rules! options {
213213
($struct_name:ident, $setter_name:ident, $defaultfn:ident,
214214
$buildfn:ident, $prefix:expr, $outputname:expr,
215-
$stat:ident, $mod_desc:ident, $mod_set:ident,
215+
$stat:ident,
216216
$($( #[$attr:meta] )* $opt:ident : $t:ty = (
217217
$init:expr,
218218
$parse:ident,
@@ -849,7 +849,7 @@ mod parse {
849849

850850
options! {CodegenOptions, CodegenSetter, basic_codegen_options,
851851
build_codegen_options, "C", "codegen",
852-
CG_OPTIONS, cg_type_desc, cgsetters,
852+
CG_OPTIONS,
853853

854854
// This list is in alphabetical order.
855855
//
@@ -959,7 +959,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
959959

960960
options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
961961
build_debugging_options, "Z", "debugging",
962-
DB_OPTIONS, db_type_desc, dbsetters,
962+
DB_OPTIONS,
963963

964964
// This list is in alphabetical order.
965965
//

0 commit comments

Comments
 (0)