We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab6a8c commit 2950b89Copy full SHA for 2950b89
1 file changed
cpp-linter/src/clang_tools/clang_tidy.rs
@@ -301,7 +301,7 @@ pub fn run_clang_tidy(
301
} else {
302
cmd.arg("--fix-errors");
303
Some(
304
- fs::read_to_string(&file.name).map_err(|e| ClangCaptureError::WriteFileFailed {
+ fs::read_to_string(&file.name).map_err(|e| ClangCaptureError::ReadFileFailed {
305
file_name: file_name.clone(),
306
source: e,
307
})?,
0 commit comments