rust-lang/rust — pull request #15443 by pcwalton (2014-07-05 01:03:15+00:00)
Title: librustc: Disallow modules and types from having the same name.

This will break code that looks like:

struct Foo {
...
}

mod Foo {
...
}

Change this code to:

struct Foo {
...
}

impl Foo {
...
}

Or rename the module.

Closes #15205.

[breaking-change]

r? @nick29581