Add tests for intercrate ambiguity hints.

This commit is contained in:
Masaki Hara 2017-07-25 15:46:26 +09:00 committed by Niko Matsakis
parent bebd622198
commit a59cc32ed4
5 changed files with 89 additions and 1 deletions

View file

@ -24,6 +24,7 @@ error[E0592]: duplicate definitions with name `baz`
...
43 | fn baz(&self) {}
| ---------------- other definition for `baz`
= note: upstream crates may add new impl for `std::marker::Copy` in future versions
error: aborting due to 3 previous errors