about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-07-04 17:59:55 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-07-07 10:54:32 -0700
commit3c9443b6e58c2c1a7bd9e6e2a74e183c33c98ebc (patch)
tree0717444e85d0a5a3814a09ccd8f3bd7dbe795a49 /src/rustllvm/ExecutionEngineWrapper.cpp
parent4f120e6bafe971452adfede158a7957b00562a4e (diff)
downloadrust-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