]> git.lizzy.rs Git - rust.git/commit
Remove `insert_noop`.
authorNicholas Nethercote <nnethercote@mozilla.com>
Sun, 4 Nov 2018 22:28:12 +0000 (09:28 +1100)
committerNicholas Nethercote <nnethercote@mozilla.com>
Sun, 25 Nov 2018 06:54:06 +0000 (17:54 +1100)
commit9847b5cfcb16876630064ed766fbbb7545c67368
tree655842756fd2137cf69c01e601d3de6382a7b609
parent1e34dfce6f49b5bef0da31a8abe34e753c3af513
Remove `insert_noop`.

Because it's as useless as its name suggests.

This commit also renames `UndoLog::Noop` as `UndoLog::Purged`, because
(a) that's a more descriptive name and (b) it matches the name used in
similar code in `librustc/infer/region_constraints/mod.rs`.
src/librustc/traits/project.rs
src/librustc_data_structures/snapshot_map/mod.rs