diff options
| author | Nick Hamann <nick@wabbo.org> | 2015-10-22 14:53:01 -0500 |
|---|---|---|
| committer | Nick Hamann <nick@wabbo.org> | 2015-10-22 17:12:16 -0500 |
| commit | f0af1eb110b3dd12754b02bc3dcb7127ea2dce7f (patch) | |
| tree | 55c04afff812ba379cdc9fbc69236cd6a9ef1691 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 5692e16270ad844e89aa56859d5f8311159e2eea (diff) | |
| download | rust-f0af1eb110b3dd12754b02bc3dcb7127ea2dce7f.tar.gz rust-f0af1eb110b3dd12754b02bc3dcb7127ea2dce7f.zip | |
Warn when creating a module and a struct that both have the same name.
Currently it is possible to do the following: - define a module named `Foo` and then a unit or tuple struct also named `Foo` - define any struct named `Foo` and then a module named `Foo` This commit introduces a warning for both of these cases.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
