about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnthony Eid <56899983+Anthony-Eid@users.noreply.github.com>2024-12-05 06:06:38 -0500
committerAnthony Eid <hello@anthonyeid.me>2024-12-05 06:12:27 -0500
commit6d95b5baefd2b310db223c865dd96571269fe976 (patch)
tree27ca6e5f3f8ba178a0f1b823f9c246dbdb33eb96
parentde0cb6cb6e7cdc3d0f47378ec54b37c9f011a49e (diff)
downloadrust-6d95b5baefd2b310db223c865dd96571269fe976.tar.gz
rust-6d95b5baefd2b310db223c865dd96571269fe976.zip
Update compiler/rustc_lint/src/lints.rs
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
-rw-r--r--compiler/rustc_lint/src/lints.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs
index 382fac9c3d0..0dcea967bbe 100644
--- a/compiler/rustc_lint/src/lints.rs
+++ b/compiler/rustc_lint/src/lints.rs
@@ -1147,8 +1147,9 @@ pub(crate) struct IgnoredUnlessCrateSpecified<'a> {
 #[derive(LintDiagnostic)]
 #[diag(lint_dangling_pointers_from_temporaries)]
 #[note]
-#[help]
-#[help(lint_info)]
+#[help(lint_help_bind)]
+#[help(lint_help_returned)]
+#[help(lint_help_visit)]
 // FIXME: put #[primary_span] on `ptr_span` once it does not cause conflicts
 pub(crate) struct DanglingPointersFromTemporaries<'tcx> {
     pub callee: Symbol,