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 {
299
299
pub const parse_opt_pathbuf: & str = "a path" ;
300
300
pub const parse_pathbuf_push: & str = parse_opt_pathbuf;
301
301
pub const parse_list: & str = "a space-separated list of strings" ;
302
- pub const parse_opt_list: & str = parse_list;
303
302
pub const parse_opt_comma_list: & str = "a comma-separated list of strings" ;
304
303
pub const parse_number: & str = "a number" ;
305
304
pub const parse_opt_number: & str = parse_number;
@@ -435,18 +434,6 @@ macro_rules! options {
435
434
}
436
435
}
437
436
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
-
450
437
fn parse_opt_comma_list( slot: & mut Option <Vec <String >>, v: Option <& str >)
451
438
-> bool {
452
439
match v {
You can’t perform that action at this time.
0 commit comments