Module rustc_mir_dataflow::impls::borrowed_locals

source ·


  • A dataflow analysis that tracks whether a pointer or reference could possibly exist that points to a given local. This analysis ignores fake borrows, so it should not be used by borrowck.
  • A Visitor that defines the transfer function for MaybeBorrowedLocals.


  • The set of locals that are borrowed at some point in the MIR body.