diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index c9e24492207d..5ac60d8f2c85 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -549,7 +549,7 @@ impl Config { pub fn lldb_version_to_int(version_string: &str) -> isize { let error_string = format!("Encountered LLDB version string with unexpected format: {}", version_string); - version_string.parse().expect(&error_string); + version_string.parse().expect(&error_string) } fn expand_variables(mut value: String, config: &Config) -> String {