]> git.lizzy.rs Git - rust.git/commit
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)
commite100ce4f924138725d092ead2f3f22fd945ae8ac
tree06ccaef8b30c3d9a814ebcc1075809296567d817
parentd94b804863f96f4302c0f0414743b5b3ec75f234
parentac5bd5dd2b4abd8eb888f14ea01b59028173c0db
Auto merge of #51855 - Eh2406:i51821, r=nikomatsakis

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.
src/librustc_mir/borrow_check/nll/type_check/mod.rs