diff options
| author | bors <bors@rust-lang.org> | 2021-04-13 20:31:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-13 20:31:22 +0000 |
| commit | 8f3c2450c2dff0d4ae82395699809d3ea726d6c2 (patch) | |
| tree | 7c429833696b8844dcea2cfcd60c8ab54732362b /tests/codegen/src-hash-algorithm | |
| parent | e9728b80ce38a1ab94d90d125726d5503e6ab3bb (diff) | |
| parent | 76bd5d232c767dbdab63005eca07a9563982e9dd (diff) | |
| download | rust-8f3c2450c2dff0d4ae82395699809d3ea726d6c2.tar.gz rust-8f3c2450c2dff0d4ae82395699809d3ea726d6c2.zip | |
Auto merge of #7074 - camsteffen:diag-methods, r=llogiq
Split `is_diagnostic_assoc_item` changelog: none * Split `is_diagnostic_assoc_item` into `is_diag_item_method` and `is_diag_trait_item` * `is_diag_item_method` is a bit more nuanced with the `tcx.type_of(impl_id).ty_adt_def()` step, so it seems better to keep that separate. * No need to generalize over traits and Adt's since we know which one we want at compile time * "item" vs. "method" because a trait may have associated items. * Replaces the usage of the `sym::slice` diagnostic item with the `slice_alloc` lang item. The diagnostic item should be removed from rustc because it is on the `slice_alloc` impl, not slice itself (and it's not needed).
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
