diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2019-07-06 16:47:43 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2019-07-06 16:47:43 -0700 |
| commit | 6bb60ef6f2392b029c0bb5e2042f0f5743ae6763 (patch) | |
| tree | eb3317ef133943e237e4ecee24417be628fa54d6 /src/test/ui/structs-enums/tuple-struct-construct.rs | |
| parent | dfd52ba6ac2262c6b61c59ec86bfd23e4e53d3de (diff) | |
| download | rust-6bb60ef6f2392b029c0bb5e2042f0f5743ae6763.tar.gz rust-6bb60ef6f2392b029c0bb5e2042f0f5743ae6763.zip | |
name the trait in ambiguous-associated-items fully qualified suggestion
We have the trait at this point, so we can name it in the error message, rather than using "Trait" as a (potentially confusing) placeholder. Thanks to Yuki "@JohnTitor" Okushi for pointing out where to look (in the same file) for a closely related issue for ambiguous associated types (as opposed to items; that was #59225, except that one won't be quite as easy to resolve, because we actually don't have the trait `DefId` at that point).
Diffstat (limited to 'src/test/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions
