summary refs log tree commit diff
path: root/src/librustdoc/passes
AgeCommit message (Collapse)AuthorLines
2018-01-13Remove `impl Foo for ..` in favor of `auto trait Foo`leonardo.yvens-1/+1
No longer parse it. Remove AutoTrait variant from AST and HIR. Remove backwards compatibility lint. Remove coherence checks, they make no sense for the new syntax. Remove from rustdoc.
2017-11-30Hide trait impl with private trait type parameterChristian Duerr-0/+9
Trait's implementations with private type parameters were displayed in the implementing struct's documentation until now. With this change any trait implementation that uses a private type parameter is now hidden in the docs.
2017-11-21allow loading external files in documentationQuietMisdreavus-12/+75
Partial implementation of https://github.com/rust-lang/rfcs/pull/1990 (needs error reporting work) cc #44732
2017-11-03[Syntax Breaking] Rename DefaultImpl to AutoImplleonardo.yvens-1/+1
DefaultImpl is a highly confusing name for what we now call auto impls, as in `impl Send for ..`. The name auto impl is not formally decided but for sanity anything is better than `DefaultImpl` which refers neither to `default impl` nor to `impl Default`.
2017-10-27Implement RFC 1861: Extern typesPaul Lietar-1/+1
2017-08-10Implemented #[doc(cfg(...))].kennytm-0/+53
This attribute has two effects: 1. Items with this attribute and their children will have the "This is supported on **** only" message attached in the documentation. 2. The items' doc tests will be skipped if the configuration does not match.
2017-06-23rustdoc: Fix a few issues with associated constsOliver Middleton-3/+3
* Make sure private consts are stripped. * Don't show a code block for the value if there is none. * Make sure default values are shown in impls. * Make sure docs from the trait are used if the impl has no docs.
2017-06-11rustdoc: Stop stripping empty modulesOliver Middleton-13/+5
There is no good reason to strip empty modules with no documentation and doing so causes subtle problems.
2017-03-31Fix hard break issueGuillaume Gomez-1/+12
2016-11-24rustdoc: use libsyntax ast::Attribute instead of "cleaning" them.Eduard-Mihai Burtescu-39/+27
2016-10-02Remove redundant 'Variant' in variant names, stop reexporting.Corey Farwell-1/+1
2016-09-25Move in-pass-function structs and impls outside functions.Corey Farwell-68/+74
Now that each pass has its own module, there's not much of a reason to keep these structs within the functions.
2016-09-25Move pass contants/types into the new `pass` module.Corey Farwell-0/+27
2016-09-25Separate rustdoc passes into separate modules.Corey Farwell-0/+508