diff options
| author | Nick Hamann <nick@wabbo.org> | 2015-06-17 19:41:55 -0500 |
|---|---|---|
| committer | Nick Hamann <nick@wabbo.org> | 2015-06-17 19:41:55 -0500 |
| commit | b637f6b1bdee12e0cf18bd8fefbebe058518726f (patch) | |
| tree | 50f209a5594164a7e3f4f19709ff87afd8a3f10c /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 0250ff9a5f1347f3177516e178fd8382d48169c7 (diff) | |
| download | rust-b637f6b1bdee12e0cf18bd8fefbebe058518726f.tar.gz rust-b637f6b1bdee12e0cf18bd8fefbebe058518726f.zip | |
Fix the E0252 error message to use better names for things.
Currently in the E0252 message, traits and modules are all called types (as in "a type named `Foo` has already been imported", even when `Foo` was a trait or module). This commit changes that to additionally detect when the import in question is a trait or module and report it accordingly. Fixes #25396.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
