Expand description
This pass statically detects code which has undefined behaviour or is likely to be erroneous. It can be used to locate problems in MIR building or optimizations. It assumes that all code can be executed, so it has false positives.
Structsยง
- Lint ๐
Functionsยง
- lint_
body ๐ - places_
conflict_ ๐for_ assignment - Checks whether reading
srcwhile assigning todestwould violate MIRโs non-overlap requirement for assignments.