diff options
| author | David Wood <david@davidtw.co> | 2020-07-14 16:28:11 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-07-14 16:28:11 +0100 |
| commit | d9485be595ee1655391697104b72ca005b0a9c80 (patch) | |
| tree | 5ef06cdd6fd92644bf5992effe52d267051cd9c0 /src/test/rustdoc-ui/coverage/doc-examples.rs | |
| parent | c724b67e1b474262917a5154d74e7072267593fe (diff) | |
| download | rust-d9485be595ee1655391697104b72ca005b0a9c80.tar.gz rust-d9485be595ee1655391697104b72ca005b0a9c80.zip | |
typeck: use `item_name` in cross-crate packed diag
This commit replaces the use of `expect_local` and `hir().get` to fetch the identifier for a ADT with `item_name` - which works across crates. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions
