summary refs log tree commit diff
path: root/src/librustc_data_structures/indexed_set.rs
AgeCommit message (Collapse)AuthorLines
2017-08-16MIR based borrow check (opt-in).Felix S. Klock II-0/+30
One can either use `-Z borrowck-mir` or add the `#[rustc_mir_borrowck]` attribute to opt into MIR based borrow checking. Note that regardless of whether one opts in or not, AST-based borrow check will still run as well. The errors emitted from AST-based borrow check will include a "(Ast)" suffix in their error message, while the errors emitted from MIR-based borrow check will include a "(Mir)" suffix. post-rebase: removed check for intra-statement mutual conflict; replaced with assertion checking that at most one borrow is generated per statement. post-rebase: removed dead code: `IdxSet::pairs` and supporting stuff.
2017-08-16Move `DataFlowState::{each_bit,interpret_set}` method definitions to parent ↵Felix S. Klock II-0/+34
module. Refactored `each_bit`, which traverses a `IdxSet`, so that the bulk of its implementation lives in `rustc_data_structures`.
2017-03-27Fix various useless derefs and slicingsOliver Schneider-4/+4
2016-10-10Move IdxSetBuf and BitSlice to rustc_data_structuresWesley Wiser-0/+156
Resolves a FIXME