Remove run anyway tip (#7782)

This commit is contained in:
Anton-4 2025-05-12 17:51:58 +02:00 committed by GitHub
parent f479d6227e
commit a27feb309a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 43 deletions

View file

@ -619,7 +619,7 @@ pub fn test(matches: &ArgMatches, target: Target) -> io::Result<i32> {
return handle_loading_problem(problem);
}
Err(LoadMonomorphizedError::ErrorModule(module)) => {
return handle_error_module(module, start_time.elapsed(), path.as_os_str(), false);
return handle_error_module(module, start_time.elapsed());
}
};
let problems = report_problems_monomorphized(&mut loaded);
@ -1133,7 +1133,7 @@ pub fn build(
}
}
Err(BuildFileError::ErrorModule { module, total_time }) => {
handle_error_module(module, total_time, path.as_os_str(), true)
handle_error_module(module, total_time)
}
Err(BuildFileError::LoadingProblem(problem)) => handle_loading_problem(problem),
}