This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
compiler/rustc_session/src Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,6 @@ mod desc {
313313 pub const parse_opt_string: & str = parse_string;
314314 pub const parse_string_push: & str = parse_string;
315315 pub const parse_opt_pathbuf: & str = "a path" ;
316- pub const parse_pathbuf_push: & str = parse_opt_pathbuf;
317316 pub const parse_list: & str = "a space-separated list of strings" ;
318317 pub const parse_opt_comma_list: & str = "a comma-separated list of strings" ;
319318 pub const parse_number: & str = "a number" ;
@@ -354,7 +353,6 @@ mod desc {
354353 "one of supported split-debuginfo modes (`off` or `dsymutil`)" ;
355354}
356355
357- #[ allow( dead_code) ]
358356mod parse {
359357 crate use super :: * ;
360358 use std:: str:: FromStr ;
@@ -445,16 +443,6 @@ mod parse {
445443 }
446444 }
447445
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-
458446 crate fn parse_list ( slot : & mut Vec < String > , v : Option < & str > ) -> bool {
459447 match v {
460448 Some ( s) => {
You can’t perform that action at this time.
0 commit comments