about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/src/session_diagnostics.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-08-11 04:39:55 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-08-11 16:00:49 +0000
commit6bb29af766caa678bd47ef0e6e3e429c8bd3fbd8 (patch)
tree1caa0e61110f5d26d542088663a908e2b8be9fa7 /compiler/rustc_attr_parsing/src/session_diagnostics.rs
parent625143bac3e2917adb59314a408b17e8d2f9bd65 (diff)
downloadrust-6bb29af766caa678bd47ef0e6e3e429c8bd3fbd8.tar.gz
rust-6bb29af766caa678bd47ef0e6e3e429c8bd3fbd8.zip
Add link to invalid `repr` error
Diffstat (limited to 'compiler/rustc_attr_parsing/src/session_diagnostics.rs')
-rw-r--r--compiler/rustc_attr_parsing/src/session_diagnostics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_attr_parsing/src/session_diagnostics.rs b/compiler/rustc_attr_parsing/src/session_diagnostics.rs
index 1de25ca252b..e4aae13f790 100644
--- a/compiler/rustc_attr_parsing/src/session_diagnostics.rs
+++ b/compiler/rustc_attr_parsing/src/session_diagnostics.rs
@@ -498,6 +498,7 @@ pub(crate) struct ReprIdent {
 #[derive(Diagnostic)]
 #[diag(attr_parsing_unrecognized_repr_hint, code = E0552)]
 #[help]
+#[note]
 pub(crate) struct UnrecognizedReprHint {
     #[primary_span]
     pub span: Span,