We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e99611b + bd94932 commit 1233b39Copy full SHA for 1233b39
clippy_lints/src/utils/diagnostics.rs
@@ -8,7 +8,7 @@ use syntax::errors::DiagnosticBuilder;
8
use syntax::source_map::Span;
9
10
/// Wrapper around `DiagnosticBuilder` that adds a link to Clippy documentation for the emitted lint
11
-pub struct DiagnosticWrapper<'a>(pub DiagnosticBuilder<'a>);
+struct DiagnosticWrapper<'a>(DiagnosticBuilder<'a>);
12
13
impl<'a> Drop for DiagnosticWrapper<'a> {
14
fn drop(&mut self) {
0 commit comments