Rename cast_ref_to_mut lint to invalid_reference_casting
This commit is contained in:
@@ -743,10 +743,10 @@ pub enum InvalidFromUtf8Diag {
|
||||
},
|
||||
}
|
||||
|
||||
// cast_ref_to_mut.rs
|
||||
// reference_casting.rs
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_cast_ref_to_mut)]
|
||||
pub struct CastRefToMutDiag;
|
||||
#[diag(lint_invalid_reference_casting)]
|
||||
pub struct InvalidReferenceCastingDiag;
|
||||
|
||||
// hidden_unicode_codepoints.rs
|
||||
#[derive(LintDiagnostic)]
|
||||
|
||||
Reference in New Issue
Block a user