1
Fork 0

Include reference in lint diagnostic

This commit is contained in:
Zachary S 2024-05-15 10:59:13 -05:00
parent 7d7eb973d0
commit 77f288c18d
3 changed files with 9 additions and 4 deletions

View file

@ -613,6 +613,7 @@ pub enum PtrNullChecksDiag<'a> {
#[diag(lint_for_loops_over_fallibles)]
pub struct ForLoopsOverFalliblesDiag<'a> {
pub article: &'static str,
pub ref_prefix: &'static str,
pub ty: &'static str,
#[subdiagnostic]
pub sub: ForLoopsOverFalliblesLoopSub<'a>,