about summary refs log tree commit diff
path: root/src/librustc_data_structures/obligation_forest
AgeCommit message (Expand)AuthorLines
2020-05-02fix rustdoc warningsTshepang Lekhonkhobe-1/+1
2020-02-24remove redundant clones in librustc_mir_build and librustc_data_structuresMatthias Krüger-2/+2
2020-02-15Rollup merge of #68475 - Aaron1011:fix/forest-caching, r=nikomatsakisYuki Okushi-15/+20
2020-02-06Remove `RefCell` usage from `ObligationForest`.Nicholas Nethercote-5/+5
2020-02-01Use BufWriterShotaro Yamada-1/+2
2020-01-22Use a `ParamEnvAnd<Predicate>` for caching in `ObligationForest`Aaron Hill-15/+20
2019-12-31Revert parts of #66405.Nicholas Nethercote-111/+80
2019-12-22Format the worldMark Rousskov-243/+274
2019-12-13Avoid re-processing nodes in `find_cycles_from_node`.Nicholas Nethercote-4/+8
2019-12-13Remove an unnecessary local variable.Nicholas Nethercote-2/+1
2019-12-13Remove some `debug!` statements.Nicholas Nethercote-19/+1
2019-12-13Move functions around.Nicholas Nethercote-59/+59
2019-12-13Remove `NodeState::{Waiting,Done}`.Nicholas Nethercote-87/+126
2019-11-15Make `process_obligations()` greedier.Nicholas Nethercote-10/+33
2019-10-01Rollup merge of #64805 - nnethercote:ObligForest-still-more, r=nikomatsakisTyler Mandry-126/+115
2019-09-30Avoid the popping loop at the end of `compress()`.Nicholas Nethercote-34/+40
2019-09-30Remove an out-of-date sentence in a comment.Nicholas Nethercote-3/+2
2019-09-30Rename `nodes_len` and use it in a few more places.Nicholas Nethercote-9/+9
2019-09-30Convert some `match` expressions to `if`s.Nicholas Nethercote-36/+21
2019-09-30Introduce some intermediate variables that aid readability.Nicholas Nethercote-3/+5
2019-09-30Remove unnecessary uses of `ObligationForest::scratch`.Nicholas Nethercote-12/+8
2019-09-30Use `filter` and `map` in `to_errors`.Nicholas Nethercote-11/+11
2019-09-30Tweak the control flow in `process_obligations()`.Nicholas Nethercote-4/+4
2019-09-30Inline `mark_as_waiting_from`.Nicholas Nethercote-12/+13
2019-09-30Rename `node_index` as `index`.Nicholas Nethercote-2/+2
2019-09-30Remove `NodeState::OnDfsStack`.Nicholas Nethercote-19/+19
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-09-20Rename a variable.Nicholas Nethercote-2/+2
2019-09-20Rename `waiting_cache`.Nicholas Nethercote-14/+14
2019-09-20Rename a loop variable.Nicholas Nethercote-7/+7
2019-09-20Remove some unnecessary `backtrace` intermediate variables.Nicholas Nethercote-4/+2
2019-09-20Reorder the state handling in `process_cycles()`.Nicholas Nethercote-6/+9
2019-09-17Rename some index variables.Nicholas Nethercote-44/+44
2019-09-17Remove `NodeIndex`.Nicholas Nethercote-36/+27
2019-09-17Move a `Node`'s parent into the descendents list.Nicholas Nethercote-43/+36
2019-09-16Move `impl Node` just after `struct Node`.Nicholas Nethercote-16/+16
2019-09-16Minor comment tweaks.Nicholas Nethercote-10/+6
2019-09-16Use `retain` for `waiting_cache` in `apply_rewrites()`.Nicholas Nethercote-6/+4
2019-09-16Use iterators in `error_at` and `process_cycle`.Nicholas Nethercote-16/+18
2019-09-16Add comments about `waiting_cache`.Nicholas Nethercote-2/+14
2019-09-16Fix incorrect comment about contents of a `Node`.Nicholas Nethercote-5/+5
2019-09-16Fix some out-of-date names of things in comments.Nicholas Nethercote-7/+7
2019-09-16Remove out-of-date comments.Nicholas Nethercote-16/+0
2019-09-16Factor out repeated `self.nodes[i]` expressions.Nicholas Nethercote-15/+14
2019-09-16Redefine `NodeIndex` as a `newtype_index!`.Nicholas Nethercote-41/+34
2019-09-16Name index variables consistently.Nicholas Nethercote-50/+47
2019-09-13Inline `mark_neighbours_as_waiting_from`.Nicholas Nethercote-4/+13
2019-08-02Remove some more `cfg(test)`sVadim Petrochenkov-3/+1
2019-08-02librustc_data_structures: Unconfigure tests during normal buildVadim Petrochenkov-1/+1
2019-06-26Fix clippy::redundant_closureIgor Matuszewski-1/+1