New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc: Fix search-index entry for inherent-associated-const #31596

merged 2 commits into from Feb 13, 2016


None yet
5 participants

mitaa commented Feb 12, 2016

No description provided.

mitaa added some commits Feb 12, 2016

Fix inherent-associated-const search result links
Normal constants have their own page while associated constants are
embedded within their parent-items page.
Fix associated item identifiers
Search results use the mapping found in `ItemType::to_static_str` for
the identifier, which could not be found on the page in the case of
associated items.

This comment has been minimized.


rust-highfive commented Feb 12, 2016

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)


This comment has been minimized.


mitaa commented Feb 12, 2016


This comment has been minimized.


mitaa commented Feb 12, 2016

I've noticed that associated types, unlike associated consts, in impls are not recorded in the search-index because of noisy search results.

Right now inherent-associated-types don't work yet but I would imagine that whatever solution is applied to them should be used for inherent-associated-constants too.

edit: (there is currently no distinction between an implemented associated-item from a trait and an inherent-associated-item)


This comment has been minimized.


alexcrichton commented Feb 12, 2016

@bors: r+ 938202c



This comment has been minimized.


bors commented Feb 13, 2016

⌛️ Testing commit 938202c with merge c438802...

@bors bors merged commit 938202c into rust-lang:master Feb 13, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
homu Test successful

@mitaa mitaa deleted the mitaa:rdoc_assoc_item branch Feb 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment