about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-26 21:36:57 +0000
committerbors <bors@rust-lang.org>2015-05-26 21:36:57 +0000
commitcccc137b888af7561687aae7e6af3ed32461c160 (patch)
tree79f170a7e8f8c7fba46074d90c10396d867ec269 /src/libsyntax/parse/parser.rs
parent1742a01f8d5717f1ab2f445c4d4656633b4c88b9 (diff)
parent06304ed52201ea0cae7a09f2546123c78a60a193 (diff)
downloadrust-cccc137b888af7561687aae7e6af3ed32461c160.tar.gz
rust-cccc137b888af7561687aae7e6af3ed32461c160.zip
Auto merge of #25675 - bluss:rustdoc-assoc-types-index, r=alexcrichton
rustdoc: Associated type fixes

The first commit fixes a bug with "dud" items in the search index from
misrepresented `type` items in trait impl blocks.

For a trait *implementation* there are typedefs which are the types for
that particular trait and implementor. Skip these in the search index.

There were lots of dud items in the search index due to this (search for
Item, Iterator's associated type).

Add a boolean to clean::TypedefItem so that it tracks whether the it is
a type alias on its own, or if it's a `type` item in a trait impl.

The second commit fixes a bug that made signatures and where bounds
using associated types (if they were not on `Self`) incorrect.

The third commit fixes so that where clauses in type alias definititons
are shown.

Fixes #22442
Fixes #24417
Fixes #25769
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions