summary refs log tree commit diff
path: root/src/librustdoc/clean
AgeCommit message (Collapse)AuthorLines
2016-02-26Don't inline impls from `doc(hidden)` modulesmitaa-11/+16
2016-02-24Fix source-links for files with absolute-pathsmitaa-1/+8
`clean_srcpath` tries to make the source-path relative to `src_root`, but this didn't work since `src_root` itself wasn't absolute.
2016-02-16Split PatKind::Enum into PatKind::TupleStruct and PatKind::PathVadim Petrochenkov-1/+1
2016-02-14Rename hir::Pat_ and its variantsVadim Petrochenkov-12/+12
2016-02-13Auto merge of #31596 - mitaa:rdoc_assoc_item, r=alexcrichtonbors-4/+2
2016-02-12Fix inherent-associated-const search result linksmitaa-4/+2
Normal constants have their own page while associated constants are embedded within their parent-items page.
2016-02-11[breaking-change] don't glob export ast::MetaItem_Oliver 'ker' Schneider-3/+3
2016-02-11[breaking-change] don't pub export ast::Lit_ variantsOliver Schneider-8/+8
2016-02-11[breaking-change] don't glob export ast::{UintTy, IntTy} variantsOliver Schneider-20/+20
2016-02-11[breaking-change] don't glob export ast::FloatTy variantsOliver Schneider-4/+4
2016-02-11[breaking-change] don't glob import/export syntax::abi enum variantsOliver Schneider-5/+5
2016-02-09Rustdoc - display `since` version for stable itemsWesley Wiser-0/+8
Fixes #27607
2016-01-20Rename Def's variants and don't reexport themVadim Petrochenkov-29/+29
2016-01-20Refactor definitions of ADTs in rustc::middle::defVadim Petrochenkov-9/+10
2016-01-14Support generic associated constsMichael Wu-2/+2
2016-01-13Fix rustdoc reexports.Lee Jeffery-1/+1
2015-12-28Rename ExplicitSelfCategory's variants and stop re-exporting them.Ms2ger-6/+6
2015-12-18Abstract away differences between Vec and ptr::P in HIRVadim Petrochenkov-2/+7
2015-12-18Deprecate name `OwnedSlice` and don't use itVadim Petrochenkov-1/+1
2015-12-12Support `#[deprecated]` in rustdocVadim Petrochenkov-0/+50
2015-12-12Implement `#[deprecated]` attribute (RFC 1270)Vadim Petrochenkov-10/+10
2015-12-05Reuse `record_extern_fqn`mitaa-23/+8
These locations erroneously used the local item-path instead of the extern item-path.
2015-12-03Use the extern item-path for documentation linksmitaa-1/+1
The local item-path includes the local crates path to the extern crate declaration which breaks cross-crate rustdoc links if the extern crate is not linked into the crate root or renamed via `extern foo as bar`.
2015-11-28Auto merge of #30074 - jonas-schievink:macro-doc, r=sanxiynbors-2/+5
Fixes #17616 New docs for `panic!`: ```rust macro_rules! panic { () => { ... }; ($msg:expr) => { ... }; ($fmt:expr, $($arg:tt)+) => { ... }; } ``` New docs for `assert!`: ```rust macro_rules! assert { ( $ cond : expr ) => { ... }; ( $ cond : expr , $ ( $ arg : tt ) + ) => { ... }; } ``` <sup>not pretty, but at least it's not worse :joy:
2015-11-28Auto merge of #29383 - petrochenkov:empstr, r=pnkfelixbors-2/+2
Fixes https://github.com/rust-lang/rust/issues/28692 Fixes https://github.com/rust-lang/rust/issues/28992 Fixes some other similar issues (see the tests) [breaking-change], needs crater run (cc @brson or @alexcrichton ) The pattern with parens `UnitVariant(..)` for unit variants seems to be popular in rustc (see the second commit), but mostly used by one person (@nikomatsakis), according to git blame. If it causes breakage on crates.io I'll add an exceptional case for it.
2015-11-26;Jonas Schievink-1/+1
2015-11-26rustdoc: only show macro arm's lhsJonas Schievink-2/+5
2015-11-26fix tidyAriel Ben-Yehuda-2/+2
2015-11-26fix tests & rustdocAriel Ben-Yehuda-11/+11
2015-11-26make check worksAriel Ben-Yehuda-56/+48
2015-11-19Show constness for functions of reexported docsmitaa-2/+15
2015-11-19Fix the falloutVadim Petrochenkov-2/+2
2015-11-17Auto merge of #29766 - oli-obk:impl_item, r=nikomatsakisbors-3/+3
[breaking change] I'm not sure if those renames are ok. [TokenType::Tt* to TokenType::*](https://github.com/rust-lang/rust/pull/29582) was obvious, but for all those Item-enums it's less obvious to me what the right way forward is due to the underscore.
2015-11-16Remove `TyParen` from HIRVadim Petrochenkov-1/+0
2015-11-16ImplItem_ -> ImplItemKind renameOliver Schneider-3/+3
2015-11-16rename ImplItem_::*ImplItem to ImplItem_::*Oliver Schneider-3/+3
[breaking change]
2015-11-06librustdoc: improve testnames for doctestsKevin Butler-2/+12
2015-10-31Remove PatWildMultiVadim Petrochenkov-2/+1
2015-10-25syntax/rustc_front: Simplify VariantData::fieldsVadim Petrochenkov-2/+2
And use VariantData instead of P<VariantData> in Item_ and Variant_
2015-10-16Auto merge of #29014 - petrochenkov:stability, r=brsonbors-23/+27
Stricter checking of stability attributes + enforcement of their invariants at compile time (+ removed dead file librustc_front/attr.rs) I intended to enforce use of `reason` for unstable items as well (it normally presents for new items), but it turned out too intrusive, many older unstable items don't have `reason`s. r? @aturon I'm studying how stability works and do some refactoring along the way, so it's probably not the last PR.
2015-10-15rustdoc: Report deprecation reason firstVadim Petrochenkov-3/+8
2015-10-13Merge VariantData and VariantData_Vadim Petrochenkov-1/+1
2015-10-13Merge struct fields and struct kindVadim Petrochenkov-4/+4
2015-10-13Dict -> Struct, StructDef -> VariantData, def -> dataVadim Petrochenkov-4/+4
2015-10-13Remove now redundant NodeId from VariantVadim Petrochenkov-1/+1
2015-10-13Decouple structure kinds from NodeIdsVadim Petrochenkov-17/+2
2015-10-13Unify structures and enum variants in HIRVadim Petrochenkov-1/+11
2015-10-13Refactor attr::StabilityVadim Petrochenkov-23/+22
Stricter checking + enforcement of invariants at compile time
2015-10-08typos: fix a grabbag of typos all over the placeCristi Cobzarenco-1/+1
2015-10-01Convert DefId to use DefIndex, which is an index into a list ofNiko Matsakis-5/+6
paths, and construct paths for all definitions. Also, stop rewriting DefIds for closures, and instead just load the closure data from the original def-id, which may be in another crate.