mozilla/rust — pull request #5252 by nikomatsakis (2013-03-06 16:05:10+00:00)
Title: Make object not impl associated trait, fix cross-crate coherence inconsistency

Two changes:

- The first fixes an inconsistency in coherence whereby extension methods were added to the inherent methods table, but only in cross-crate scenarios. This causes some minor fallout in tests and so forth. In one case (comm) I added inherent and trait methods so as to avoid the need to import traits like `GenericPort` just to use a port.

- The second makes objects not implement the associated trait, as discussed in #5087.

r? @pcwalton