diff options
| author | bors <bors@rust-lang.org> | 2024-01-03 14:28:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-03 14:28:38 +0000 |
| commit | c3c07c66d34d309ecbfc9adfb2b006d9ec9ebe4b (patch) | |
| tree | 17351c60e35e4556d57572fe822567debc84e8ba /compiler/rustc_mir_transform/src/coverage/graph.rs | |
| parent | 3fe6ff74cf80776cdac2ef05cb2c97966039bb6c (diff) | |
| parent | fe6f931ac24f564341584c9dda9ef8d60c05c933 (diff) | |
| download | rust-c3c07c66d34d309ecbfc9adfb2b006d9ec9ebe4b.tar.gz rust-c3c07c66d34d309ecbfc9adfb2b006d9ec9ebe4b.zip | |
Auto merge of #15933 - 71:inherent-items-in-docs, r=Veykril
feat: resolve inherent and implemented associated items in docs This partially fixes #9694. Supported: - Trait methods and constants. * Due to resolution differences pointed out during the review of the PR, trait associated types are _not_ supported. - Inherent methods, constants and associated types. * Inherent associated types are a [nightly feature](https://github.com/rust-lang/rust/issues/8995), and are supported with no additional work in this PR. Screenshot of VS Code running with the change: <img width="513" alt="image" src="https://github.com/rust-lang/rust-analyzer/assets/7189784/c37ed8b7-b572-4684-8e81-2a817b0027c4"> You can see that the items are resolved (excl. trait associated types) since they are semantically highlighted in the doc comment.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
