Skip to content

Commit 1b02604

Browse files
Anthony-EidUrgau
andauthored
Update compiler/rustc_lint/src/lints.rs
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
1 parent 95f28ee commit 1b02604

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: compiler/rustc_lint/src/lints.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,9 @@ pub(crate) struct IgnoredUnlessCrateSpecified<'a> {
11421142
#[derive(LintDiagnostic)]
11431143
#[diag(lint_dangling_pointers_from_temporaries)]
11441144
#[note]
1145-
#[help]
1146-
#[help(lint_info)]
1145+
#[help(lint_help_bind)]
1146+
#[help(lint_help_returned)]
1147+
#[help(lint_help_visit)]
11471148
// FIXME: put #[primary_span] on `ptr_span` once it does not cause conflicts
11481149
pub(crate) struct DanglingPointersFromTemporaries<'tcx> {
11491150
pub callee: Symbol,

0 commit comments

Comments
 (0)