Module rustdoc::passes::collect_intra_doc_links[][src]

Expand description

This module implements RFC 1946: Intra-rustdoc-links

Modules

Structs

Enums

Disambiguators for a link.

Top-level errors emitted by this pass.

A link failed to resolve.

A suggestion to show in a diagnostic.

Constants

Functions

Report an ambiguity error, where there were multiple possible resolutions.

Report an anchor failure.

Report an error in the link disambiguator.

Given an enum variant’s res, return the res of its enum and the associated fragment.

Check for resolve collisions between a trait and its derive.

Report a link from a public item to a private one.

Get the section of a link between the backticks, or the whole link if there aren’t any backticks.

Reports a diagnostic for an intra-doc link.

Reports a link that failed to resolve.

Look to see if a resolved item has an associated item named item_name.

Resolve a primitive type or value.

Returns true if we should ignore path_str due to it being unlikely that it is an intra-doc link.

Returns true if we should ignore link due to it being unlikely that it is an intra-doc link. link should still have disambiguators if there were any.

In case of an ambiguity or mismatched disambiguator, suggest the correct disambiguator.

Given a type, return all traits in scope in module implemented by that type.

Type Definitions