diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-07-18 16:48:03 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-08-22 00:25:28 -0400 |
| commit | 42232ba70add056cf422960ac96986264870b313 (patch) | |
| tree | 7dc620d2855ca503beeca6845d0a1281bd2e1ea8 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a97d65d6e474e86cad99cd833a5cd2ba32eb678f (diff) | |
| download | rust-42232ba70add056cf422960ac96986264870b313.tar.gz rust-42232ba70add056cf422960ac96986264870b313.zip | |
rustdoc: Add support for associated items even outside the impl itself
Previously, associated items would only be available for linking directly on the `impl Trait for Type`. Now they can be used anywhere. - Make `item` for resolve mandatory - Refactor resolving associated items into a separate function - Remove broken trait_item logic - Don't skip the type namespace for associated items - Only call `variant_field` for `TypeNS` - Add test for associated items - Use exhaustive matches instead of wildcards Wildcards caused several bugs while implementing this.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
