Tweak ptr in pattern error
Conform to error style guide.
This commit is contained in:
parent
cc492edc9d
commit
c0f00086f8
8 changed files with 109 additions and 54 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue