Remove unnecessary use
items in derived IntoDiagnostic
impls.
Presumably these are a hangover from an earlier time when they were necessary.
This commit is contained in:
parent
cea683c08f
commit
18251c480b
2 changed files with 0 additions and 3 deletions
|
@ -92,7 +92,6 @@ impl<'a> DiagnosticDerive<'a> {
|
||||||
self,
|
self,
|
||||||
#dcx: &'_sess rustc_errors::DiagCtxt
|
#dcx: &'_sess rustc_errors::DiagCtxt
|
||||||
) -> rustc_errors::DiagnosticBuilder<'_sess, G> {
|
) -> rustc_errors::DiagnosticBuilder<'_sess, G> {
|
||||||
use rustc_errors::IntoDiagnosticArg;
|
|
||||||
#implementation
|
#implementation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -177,7 +176,6 @@ impl<'a> LintDiagnosticDerive<'a> {
|
||||||
self,
|
self,
|
||||||
#diag: &'__b mut rustc_errors::DiagnosticBuilder<'__a, ()>
|
#diag: &'__b mut rustc_errors::DiagnosticBuilder<'__a, ()>
|
||||||
) {
|
) {
|
||||||
use rustc_errors::IntoDiagnosticArg;
|
|
||||||
#implementation;
|
#implementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,6 @@ impl SubdiagnosticDeriveBuilder {
|
||||||
rustc_errors::SubdiagnosticMessage
|
rustc_errors::SubdiagnosticMessage
|
||||||
) -> rustc_errors::SubdiagnosticMessage,
|
) -> rustc_errors::SubdiagnosticMessage,
|
||||||
{
|
{
|
||||||
use rustc_errors::{Applicability, IntoDiagnosticArg};
|
|
||||||
#implementation
|
#implementation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue