diff options
| author | bors <bors@rust-lang.org> | 2015-10-28 11:26:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-28 11:26:48 +0000 |
| commit | 7e3c8cf17cb069f3178b0927cea2caae06a9f89a (patch) | |
| tree | b40b1b72950017733ffa2ba175eb0601cdb96cac /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 18ff06ecc1cf4dae9d96c84be9320dfe8f95f491 (diff) | |
| parent | 6c094b9df901f39da59d7f3237e893671f880032 (diff) | |
| download | rust-7e3c8cf17cb069f3178b0927cea2caae06a9f89a.tar.gz rust-7e3c8cf17cb069f3178b0927cea2caae06a9f89a.zip | |
Auto merge of #29404 - jonas-schievink:external-overlap-print, r=Aatch
This makes the error message in #28981 a bit shorter (152 to 115 lines).
Previous output (the local impl was always printed twice when it conflicted with an external impl):
```
test.rs:3:1: 3:23 error: conflicting implementations for trait `core::ops::Deref` [E0119]
test.rs:3 impl<T> Deref for T {}
^~~~~~~~~~~~~~~~~~~~~~
test.rs:3:1: 3:23 help: run `rustc --explain E0119` to see a detailed explanation
test.rs:3:1: 3:23 note: conflicting implementation in crate `std`
test.rs:3 impl<T> Deref for T {}
^~~~~~~~~~~~~~~~~~~~~~
```
Output after this patch:
```
test.rs:3:1: 3:23 error: conflicting implementations for trait `core::ops::Deref` [E0119]
test.rs:3 impl<T> Deref for T {}
^~~~~~~~~~~~~~~~~~~~~~
test.rs:3:1: 3:23 help: run `rustc --explain E0119` to see a detailed explanation
note: conflicting implementation in crate `std`
```
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
