about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorNick Hamann <nick@wabbo.org>2015-06-17 19:41:55 -0500
committerNick Hamann <nick@wabbo.org>2015-06-17 19:41:55 -0500
commitb637f6b1bdee12e0cf18bd8fefbebe058518726f (patch)
tree50f209a5594164a7e3f4f19709ff87afd8a3f10c /src/libstd/sys/unix/stack_overflow.rs
parent0250ff9a5f1347f3177516e178fd8382d48169c7 (diff)
downloadrust-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