]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #5252 : nikomatsakis/rust/issue-5087-make-trait-not-impl-self, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 6 Mar 2013 17:27:59 +0000 (09:27 -0800)
committerbors <bors@rust-lang.org>
Wed, 6 Mar 2013 17:27:59 +0000 (09:27 -0800)
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

1  2 
src/librustpkg/util.rs

Simple merge