diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-11-20 03:00:58 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-04 20:29:36 +0000 |
| commit | c0f00086f85ae1fff34dd2daf6a11850e5bfc2f0 (patch) | |
| tree | 9477fd545dd22cb58a101887f807fc12dd36f129 /compiler/rustc_mir_build/src/errors.rs | |
| parent | cc492edc9d65125a25a42446bbffefb8087dedf1 (diff) | |
| download | rust-c0f00086f85ae1fff34dd2daf6a11850e5bfc2f0.tar.gz rust-c0f00086f85ae1fff34dd2daf6a11850e5bfc2f0.zip | |
Tweak ptr in pattern error
Conform to error style guide.
Diffstat (limited to 'compiler/rustc_mir_build/src/errors.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_mir_build/src/errors.rs b/compiler/rustc_mir_build/src/errors.rs index 226c469b7d7..7f4bb139fad 100644 --- a/compiler/rustc_mir_build/src/errors.rs +++ b/compiler/rustc_mir_build/src/errors.rs @@ -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, } |
