Skip to main content

Module borrowed_locals

Module borrowed_locals 

Source

Re-exportsยง

use rustc_index::bit_set::DenseBitSet; ๐Ÿ”’
use crate::Analysis; ๐Ÿ”’
use crate::GenKill; ๐Ÿ”’
use rustc_middle::mir::*; ๐Ÿ”’

Structsยง

MaybeBorrowedLocals
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.

Functionsยง

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