diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-07 05:11:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-07 05:11:56 +0200 |
| commit | fb0117000a89053ab8e964eb5fee1d73a5d019c1 (patch) | |
| tree | 90fcc4cbeeeda9c7b47d74073270a8b995b77037 /src/test/ui/structs-enums/tuple-struct-construct.rs | |
| parent | 037f568f179e91661a3ddf4e31d5c0d797e3b098 (diff) | |
| parent | 6bb60ef6f2392b029c0bb5e2042f0f5743ae6763 (diff) | |
| download | rust-fb0117000a89053ab8e964eb5fee1d73a5d019c1.tar.gz rust-fb0117000a89053ab8e964eb5fee1d73a5d019c1.zip | |
Rollup merge of #62455 - zackmdavis:name_trait_for_ambiguous_assoc_item, r=petrochenkov
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). r? @petrochenkov
Diffstat (limited to 'src/test/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions
