Update compiler/rustc_lint/src/lints.rs
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
This commit is contained in:
parent
de0cb6cb6e
commit
6d95b5baef
1 changed files with 3 additions and 2 deletions
|
@ -1147,8 +1147,9 @@ pub(crate) struct IgnoredUnlessCrateSpecified<'a> {
|
||||||
#[derive(LintDiagnostic)]
|
#[derive(LintDiagnostic)]
|
||||||
#[diag(lint_dangling_pointers_from_temporaries)]
|
#[diag(lint_dangling_pointers_from_temporaries)]
|
||||||
#[note]
|
#[note]
|
||||||
#[help]
|
#[help(lint_help_bind)]
|
||||||
#[help(lint_info)]
|
#[help(lint_help_returned)]
|
||||||
|
#[help(lint_help_visit)]
|
||||||
// FIXME: put #[primary_span] on `ptr_span` once it does not cause conflicts
|
// FIXME: put #[primary_span] on `ptr_span` once it does not cause conflicts
|
||||||
pub(crate) struct DanglingPointersFromTemporaries<'tcx> {
|
pub(crate) struct DanglingPointersFromTemporaries<'tcx> {
|
||||||
pub callee: Symbol,
|
pub callee: Symbol,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue