diff options
| author | bors <bors@rust-lang.org> | 2017-10-25 02:24:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-25 02:24:03 +0000 |
| commit | 6e61bbabe4238be2a5f16cffc7b0ab8b1561ed51 (patch) | |
| tree | fec83c67140e6f13e2aeb0cbd53a1faa756a949e /src/libstd/sys/unix/stack_overflow.rs | |
| parent | aa40292e78251f8027de72726dc4dc5ef2f1037f (diff) | |
| parent | 9d050069bb2325e2644a9798ad8d6f6e97671546 (diff) | |
| download | rust-6e61bbabe4238be2a5f16cffc7b0ab8b1561ed51.tar.gz rust-6e61bbabe4238be2a5f16cffc7b0ab8b1561ed51.zip | |
Auto merge of #45455 - kennytm:print-extern-impl-for-e0119, r=nikomatsakis
Improve diagnostic of E0119 with extern crate, try to print the conflicting impl.
Closes #27403.
Closes #23563.
Should improve #23980.
The diagnostic now looks like:
```
error[E0119]: conflicting implementations of trait `std::convert::Into<_>` for type `GenX<_>`:
--> $DIR/issue-27403.rs:15:1
|
15 | / impl<S> Into<S> for GenX<S> {
16 | | fn into(self) -> S {
17 | | self.inner
18 | | }
19 | | }
| |_^
|
= note: conflicting implementation in crate `core`:
- impl<T, U> std::convert::Into<U> for T
where U: std::convert::From<T>;
error: aborting due to previous error
```
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
