]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #51855 - Eh2406:i51821, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 1 Jul 2018 10:41:51 +0000 (10:41 +0000)
committerbors <bors@rust-lang.org>
Sun, 1 Jul 2018 10:41:51 +0000 (10:41 +0000)
A fix for 51821

This dedupe the vec of `OutlivesConstraint` using a `FxHashSet<(RegionVid, RegionVid)>` it alsow adds a `struct ConstraintSet` to encapsulate/ensure this behavere.

1  2 
src/librustc_mir/borrow_check/nll/type_check/mod.rs