File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
compiler/rustc_session/src Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,6 @@ macro_rules! options {
299299 pub const parse_opt_pathbuf: & str = "a path" ;
300300 pub const parse_pathbuf_push: & str = parse_opt_pathbuf;
301301 pub const parse_list: & str = "a space-separated list of strings" ;
302- pub const parse_opt_list: & str = parse_list;
303302 pub const parse_opt_comma_list: & str = "a comma-separated list of strings" ;
304303 pub const parse_number: & str = "a number" ;
305304 pub const parse_opt_number: & str = parse_number;
@@ -435,18 +434,6 @@ macro_rules! options {
435434 }
436435 }
437436
438- fn parse_opt_list( slot: & mut Option <Vec <String >>, v: Option <& str >)
439- -> bool {
440- match v {
441- Some ( s) => {
442- let v = s. split_whitespace( ) . map( |s| s. to_string( ) ) . collect( ) ;
443- * slot = Some ( v) ;
444- true
445- } ,
446- None => false ,
447- }
448- }
449-
450437 fn parse_opt_comma_list( slot: & mut Option <Vec <String >>, v: Option <& str >)
451438 -> bool {
452439 match v {
You can’t perform that action at this time.
0 commit comments