File tree 1 file changed +0
-12
lines changed
compiler/rustc_session/src
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,6 @@ mod desc {
313
313
pub const parse_opt_string: & str = parse_string;
314
314
pub const parse_string_push: & str = parse_string;
315
315
pub const parse_opt_pathbuf: & str = "a path" ;
316
- pub const parse_pathbuf_push: & str = parse_opt_pathbuf;
317
316
pub const parse_list: & str = "a space-separated list of strings" ;
318
317
pub const parse_opt_comma_list: & str = "a comma-separated list of strings" ;
319
318
pub const parse_number: & str = "a number" ;
@@ -354,7 +353,6 @@ mod desc {
354
353
"one of supported split-debuginfo modes (`off` or `dsymutil`)" ;
355
354
}
356
355
357
- #[ allow( dead_code) ]
358
356
mod parse {
359
357
crate use super :: * ;
360
358
use std:: str:: FromStr ;
@@ -445,16 +443,6 @@ mod parse {
445
443
}
446
444
}
447
445
448
- crate fn parse_pathbuf_push ( slot : & mut Vec < PathBuf > , v : Option < & str > ) -> bool {
449
- match v {
450
- Some ( s) => {
451
- slot. push ( PathBuf :: from ( s) ) ;
452
- true
453
- }
454
- None => false ,
455
- }
456
- }
457
-
458
446
crate fn parse_list ( slot : & mut Vec < String > , v : Option < & str > ) -> bool {
459
447
match v {
460
448
Some ( s) => {
You can’t perform that action at this time.
0 commit comments