Skip to content

Commit 6d95b5b

Browse files
Anthony-EidUrgau
andcommitted
Update compiler/rustc_lint/src/lints.rs
Co-authored-by: Urgau <[email protected]>
1 parent de0cb6c commit 6d95b5b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/rustc_lint/src/lints.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,8 +1147,9 @@ pub(crate) struct IgnoredUnlessCrateSpecified<'a> {
11471147
#[derive(LintDiagnostic)]
11481148
#[diag(lint_dangling_pointers_from_temporaries)]
11491149
#[note]
1150-
#[help]
1151-
#[help(lint_info)]
1150+
#[help(lint_help_bind)]
1151+
#[help(lint_help_returned)]
1152+
#[help(lint_help_visit)]
11521153
// FIXME: put #[primary_span] on `ptr_span` once it does not cause conflicts
11531154
pub(crate) struct DanglingPointersFromTemporaries<'tcx> {
11541155
pub callee: Symbol,

0 commit comments

Comments
 (0)