rust/src/librustc_traits
Nicholas Nethercote 7426853ba2 Reduce the number of RefCells in InferCtxt.
`InferCtxt` contains six structures within `RefCell`s. Every time we
create and dispose of (commit or rollback) a snapshot we have to
`borrow_mut` each one of them.

This commit moves the six structures under a single `RefCell`, which
gives significant speed-ups by reducing the number of `borrow_mut`
calls. To avoid runtime errors I had to reduce the lifetimes of dynamic
borrows in a couple of places.
2020-02-10 08:55:34 +11:00
..
chalk_context Reduce the number of RefCells in InferCtxt. 2020-02-10 08:55:34 +11:00
lowering Use more accurate failed predicate spans 2020-02-02 11:53:09 -08:00
Cargo.toml Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
dropck_outlives.rs Teach dropck about resume arguments 2020-02-02 13:20:58 +01:00
evaluate_obligation.rs Normalize syntax::source_map imports. 2020-01-02 13:57:04 +01:00
generic_types.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
implied_outlives_bounds.rs Move ty::wf to traits. 2020-01-07 18:03:53 +01:00
lib.rs Format the world 2019-12-22 17:42:47 -05:00
normalize_erasing_regions.rs Format the world 2019-12-22 17:42:47 -05:00
normalize_projection_ty.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
type_op.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00