summary refs log tree commit diff
path: root/tests/ui/mir/null/two_pointers.rs
AgeCommit message (Collapse)AuthorLines
2025-02-08occured -> occurredMichael Goulet-1/+1
2025-01-31Insert null checks for pointer dereferences when debug assertions are enabledBastian Kersting-0/+12
Similar to how the alignment is already checked, this adds a check for null pointer dereferences in debug mode. It is implemented similarly to the alignment check as a MirPass. This is related to a 2025H1 project goal for better UB checks in debug mode: https://github.com/rust-lang/rust-project-goals/pull/177.