]> git.lizzy.rs Git - rust.git/commit
auto merge of #17468 : nick29581/rust/dst-bug-nostd, r=nikomatsakis
authorbors <bors@rust-lang.org>
Mon, 29 Sep 2014 23:52:21 +0000 (23:52 +0000)
committerbors <bors@rust-lang.org>
Mon, 29 Sep 2014 23:52:21 +0000 (23:52 +0000)
commit74090504219e4e37c1a6d9fdd8600f44b51c7b04
tree061ed280c1151b9a117f7ea972f364f063a68932
parent0c66796525cef24d4bcc0cd2d0626c2e61a4627f
parent1c36d1c71d0095d822ab03e7615fffc63fb16988
auto merge of #17468 : nick29581/rust/dst-bug-nostd, r=nikomatsakis

closes #17392

r? @nikomatsakis

Kind of a first draft because I'm not sure if this is the right approach. I believe the general idea of giving an error rather than an ICE in obligation_for_builtin_bound is right, but not sure about returning an Option, etc.

Also, could probably have a better error message.