about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-03-16 16:18:12 -0700
committerbors <bors@rust-lang.org>2016-03-16 16:18:12 -0700
commit6e0f2f2f050443f2aec4e9c7d25618a6a6639b83 (patch)
tree5f17cfdbae34f9cb01a1697b860ca71f21cd46be /src/libstd/sys/unix/stack_overflow.rs
parenteeb062b8b1a1bb26151bed05ddd16fe55c979ee1 (diff)
parentb3c626547c16afd48b1500486b721f18983b0720 (diff)
downloadrust-6e0f2f2f050443f2aec4e9c7d25618a6a6639b83.tar.gz
rust-6e0f2f2f050443f2aec4e9c7d25618a6a6639b83.zip
Auto merge of #32284 - jseyfried:name_conflict_diagnostics, r=eddyb
Resolve: improve diagnostics for duplicate definitions and imports

This PR improves and regularizes the diagnostics for duplicate definitions and imports.

After this PR, the second of two duplicate definitions/imports will have the following form:
> a(n) [value|type|module|trait|extern crate] named \`*name*\` has already been [defined|imported] in this [module|block|trait|enum]

with a note referencing this first of the two duplicate definitions/imports:
> previous [definition|import] of \`*name*\` here

The error indices remain unchanged.

r? @eddyb
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions