Skip to content

Commit

Permalink
Nothing is TooHard anymore in the Rust world!
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFinck committed Jan 6, 2025
1 parent beecde5 commit 9f9df6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/compiler/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,6 @@ impl IntoArg for ArgTarget {

ArgData! {
TooHardFlag,
TooHard(OsString),
TooHardPath(PathBuf),
NotCompilationFlag,
NotCompilation(OsString),
Expand Down Expand Up @@ -1088,7 +1087,7 @@ fn parse_arguments(arguments: &[OsString], cwd: &Path) -> CompilerArguments<Pars
for arg in ArgsIter::new(arguments.iter().cloned(), &ARGS[..]) {
let arg = try_or_cannot_cache!(arg, "argument parse");
match arg.get_data() {
Some(TooHardFlag) | Some(TooHard(_)) | Some(TooHardPath(_)) => {
Some(TooHardFlag) | Some(TooHardPath(_)) => {
cannot_cache!(arg.flag_str().expect("Can't be Argument::Raw/UnknownFlag",))
}
Some(NotCompilationFlag) | Some(NotCompilation(_)) => {
Expand Down

0 comments on commit 9f9df6f

Please sign in to comment.