diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-07-04 17:59:55 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-07-07 10:54:32 -0700 |
| commit | 3c9443b6e58c2c1a7bd9e6e2a74e183c33c98ebc (patch) | |
| tree | 0717444e85d0a5a3814a09ccd8f3bd7dbe795a49 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 4f120e6bafe971452adfede158a7957b00562a4e (diff) | |
| download | rust-3c9443b6e58c2c1a7bd9e6e2a74e183c33c98ebc.tar.gz rust-3c9443b6e58c2c1a7bd9e6e2a74e183c33c98ebc.zip | |
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]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
