diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-02-27 12:29:13 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2021-02-28 22:59:45 +0100 |
| commit | 1b1ed9359eef9f69c4d384ad1592ba5e1b1d83af (patch) | |
| tree | ddf90187ca792b6dacd6a191c776737e89d9c80f /clippy_dev | |
| parent | e3386041a291c25d692e29d28dbb8fbfd7ef9c5a (diff) | |
| download | rust-1b1ed9359eef9f69c4d384ad1592ba5e1b1d83af.tar.gz rust-1b1ed9359eef9f69c4d384ad1592ba5e1b1d83af.zip | |
lintcheck: put the full paths (target/lintcheck/sources/<crate>...) to the source files of a warning into the lintcheck log
This is more convenient when reviewing new lint warnings that popped up in the logs
Diffstat (limited to 'clippy_dev')
| -rw-r--r-- | clippy_dev/src/lintcheck.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/lintcheck.rs b/clippy_dev/src/lintcheck.rs index 24af64626cb..622dad1740b 100644 --- a/clippy_dev/src/lintcheck.rs +++ b/clippy_dev/src/lintcheck.rs @@ -89,7 +89,7 @@ impl std::fmt::Display for ClippyWarning { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { writeln!( f, - r#"{}-{}/{}:{}:{} {} "{}""#, + r#"target/lintcheck/sources/{}-{}/{}:{}:{} {} "{}""#, &self.crate_name, &self.crate_version, &self.file, &self.line, &self.column, &self.linttype, &self.message ) } |
