Include reference in lint diagnostic
This commit is contained in:
parent
7d7eb973d0
commit
77f288c18d
3 changed files with 9 additions and 4 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue