Auto merge of #3815 - phansch:make_private, r=Manishearth
Make DiagnosticWrapper private It's doesn't have to be public anywhere outside of clippy_lints as far as I can tell.
This commit is contained in:
commit
1233b39ca9
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…
Add table
Add a link
Reference in a new issue