rust/compiler/rustc_mir/src
bors 608b5e1c20 Auto merge of #88272 - willcrichton:mutable-sparse-matrix, r=ecstatic-morse
Add bit removal methods to SparseBitMatrix and factor *BitSet relational methods into more extensible trait

I need the ability to clear the bits out of a row from `SparseBitMatrix`. Currently, all the mutating methods only allow insertion of bits, and there is no way to get access to the underlying data.

One approach is simply to make `ensure_row` public, since it grants `&mut` access to the underlying `HybridBitSet`. This PR adds the `pub` modifier. However, presumably this method was private for a reason, so I'm open to other designs. I would prefer general mutable access to the rows, because that way I can add many mutating operations (`clear`, `intersect`, etc.) without filing a PR each time :-)

r? `@ecstatic-morse`
2021-09-01 06:13:15 +00:00
..
borrow_check Auto merge of #88272 - willcrichton:mutable-sparse-matrix, r=ecstatic-morse 2021-09-01 06:13:15 +00:00
const_eval Improve comments about const panic handling 2021-07-28 16:18:38 +02:00
dataflow Remove Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
interpret rustc_target: TyAndLayout::field should never error. 2021-08-30 00:44:09 +03:00
monomorphize Treat macros as HIR items 2021-08-28 00:16:34 -07:00
transform Auto merge of #88272 - willcrichton:mutable-sparse-matrix, r=ecstatic-morse 2021-09-01 06:13:15 +00:00
util Auto merge of #87280 - lcnr:lazy-anon-const-default-substs, r=nikomatsakis 2021-08-26 22:26:23 +00:00
lib.rs Remove box syntax from rustc_mir 2021-08-18 09:31:51 +02:00
shim.rs update TypeFlags to deal with missing ct substs 2021-08-26 11:00:30 +02:00