Use attributes for dangling_pointers_from_temporaries lint
#132732
Merged
dangling_pointers_from_temporaries lint
#132732