1
Fork 0

Tweak ptr in pattern error

Conform to error style guide.
This commit is contained in:
Esteban Küber 2024-11-20 03:00:58 +00:00
parent cc492edc9d
commit c0f00086f8
8 changed files with 109 additions and 54 deletions

View file

@ -916,8 +916,10 @@ pub(crate) struct NaNPattern {
#[derive(Diagnostic)]
#[diag(mir_build_pointer_pattern)]
#[note]
pub(crate) struct PointerPattern {
#[primary_span]
#[label]
pub(crate) span: Span,
}