Start work on dangling pointers lint
This commit is contained in:
parent
0e98766a54
commit
de0cb6cb6e
2 changed files with 5 additions and 1 deletions
|
@ -1148,6 +1148,7 @@ pub(crate) struct IgnoredUnlessCrateSpecified<'a> {
|
|||
#[diag(lint_dangling_pointers_from_temporaries)]
|
||||
#[note]
|
||||
#[help]
|
||||
#[help(lint_info)]
|
||||
// FIXME: put #[primary_span] on `ptr_span` once it does not cause conflicts
|
||||
pub(crate) struct DanglingPointersFromTemporaries<'tcx> {
|
||||
pub callee: Symbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue