rust-lang/rust — pull request #17163 by pcwalton (2014-09-11 05:29:24+00:00)
Title: librustc: Forbid inherent implementations that aren't adjacent to the

type they provide an implementation for.

This breaks code like:

mod foo {
struct Foo { ... }
}

impl foo::Foo {
...
}

Change this code to:

mod foo {
struct Foo { ... }

impl Foo {
...
}
}

Closes #17059.

RFC #155.

[breaking-change]

r? @brson