Add lint for useless anonymous reexports
This commit is contained in:
parent
24c0b81c1f
commit
2df7770d5e
4 changed files with 95 additions and 0 deletions
|
@ -1530,3 +1530,10 @@ pub struct UnusedAllocationDiag;
|
|||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_unused_allocation_mut)]
|
||||
pub struct UnusedAllocationMutDiag;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_useless_anonymous_reexport)]
|
||||
pub struct UselessAnonymousReexportDiag {
|
||||
pub article: &'static str,
|
||||
pub desc: &'static str,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue