mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 17:28:07 +00:00
Make DiagnosticWrapper private
It's doesn't have to be public anywhere outside of clippy_lints
This commit is contained in:
parent
e99611bc39
commit
bd949328f1
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ use syntax::errors::DiagnosticBuilder;
|
|||
use syntax::source_map::Span;
|
||||
|
||||
/// Wrapper around `DiagnosticBuilder` that adds a link to Clippy documentation for the emitted lint
|
||||
pub struct DiagnosticWrapper<'a>(pub DiagnosticBuilder<'a>);
|
||||
struct DiagnosticWrapper<'a>(DiagnosticBuilder<'a>);
|
||||
|
||||
impl<'a> Drop for DiagnosticWrapper<'a> {
|
||||
fn drop(&mut self) {
|
||||
|
|
Loading…
Reference in a new issue