diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-10 19:11:15 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-19 03:29:30 -0500 |
| commit | b3dcb85404aabd66a5765bb99aa46e24acede4dc (patch) | |
| tree | 9642f8bdb665314856d17042a48249a7cac231ad /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 1b24602ca083cc20169190556a51066af0438049 (diff) | |
| download | rust-b3dcb85404aabd66a5765bb99aa46e24acede4dc.tar.gz rust-b3dcb85404aabd66a5765bb99aa46e24acede4dc.zip | |
Fix a bug in the opt-in-copy work: it was failing to liberate the regions bound in the impl before searching for `Copy` implements for all fields, leading to problems in the "copyability check". Basically the copyability check would wind up looking for an impl of `for<'tcx> Foo<&'tcx T>`. The impl that exists however is `impl<T> Copy for Foo<T>` and the current rules do not consider that a match (something I would like to revise in a later PR).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
