]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #40836 - arielb1:issue-32330-copy, r=nikomatsakis
authorbors <bors@rust-lang.org>
Wed, 29 Mar 2017 01:18:13 +0000 (01:18 +0000)
committerbors <bors@rust-lang.org>
Wed, 29 Mar 2017 01:18:13 +0000 (01:18 +0000)
store a copy of the Issue32230 info within TypeError

The data can't be looked up from the region variable directly, because
the region variable might have been destroyed at the end of a snapshot.

Fixes #40000.
Fixes #40743.

beta-nominating because regression.
r? @nikomatsakis


Trivial merge