Structsยง
- This produces a dangling pointer:
- Dangling
Pointers ๐FIXME: false negatives (i.e. the lint is not emitted when it should be)
Staticsยง
- The
dangling_pointers_from_temporaries
lint detects getting a pointer to data of a temporary that will immediately get dropped.
Functionsยง
- is_
temporary_ ๐rvalue - lint_
expr ๐ - owns_
allocation ๐