Also emit suggestions for usages in the non_upper_case_globals lint

This commit is contained in:
Urgau
2025-06-17 23:27:06 +02:00
parent 994794a50b
commit 42bb66add3
5 changed files with 211 additions and 12 deletions

View File

@@ -1348,6 +1348,8 @@ pub(crate) struct NonUpperCaseGlobal<'a> {
pub name: &'a str,
#[subdiagnostic]
pub sub: NonUpperCaseGlobalSub,
#[subdiagnostic]
pub usages: Vec<NonUpperCaseGlobalSub>,
}
#[derive(Subdiagnostic)]