rust-lang/rust — pull request #17468 by nick29581 (2014-09-23 05:38:33+00:00)
Title: Emit an error rather than ICEing for a missing built-in bound lang item.

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.