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 31b7add commit 0923c6aCopy full SHA for 0923c6a
cpp-linter/src/clang_tools/clang_tidy.rs
@@ -106,7 +106,11 @@ impl MakeSuggestions for TidyAdvice {
106
for note in &self.notes {
107
for fixed_line in ¬e.fixed_lines {
108
if (start_line..=end_line).contains(fixed_line) {
109
- diagnostics.push(format!("- {}\n", note.diagnostic_link()));
+ diagnostics.push(format!(
110
+ "- {} [{}]\n",
111
+ note.rationale,
112
+ note.diagnostic_link()
113
+ ));
114
}
115
116
0 commit comments