rust/src/test/rustdoc
Alex Crichton 7724a04b0f rustdoc: Fix documenting rustc-macro crates
This commit adds a "hack" to the session to track whether we're a rustdoc
session or not. If we're rustdoc then we skip the expansion to add the
rustc-macro infrastructure.

Closes #36820
2016-09-30 10:49:30 -07:00
..
auxiliary Auto merge of #35745 - jroesch:soundness-fix-29859, r=nikomatsakis 2016-09-08 10:40:31 -07:00
duplicate_impls Only record the same impl once 2016-04-22 19:10:30 +02:00
inline_cross rustdoc: Don't inline #[doc(hidden)] pub use 2016-06-11 23:00:42 +01:00
inline_local rustdoc: Don't inline #[doc(hidden)] pub use 2016-06-11 23:00:42 +01:00
src-links Add compiletest-ignore-dir to existing subdirectories. 2016-02-24 18:40:39 -05:00
assoc-consts.rs Fix associated item identifiers 2016-02-12 10:26:46 +01:00
assoc-types.rs Review changes 2016-08-17 16:12:37 +12:00
cap-lints.rs librustdoc: ignore lint warnings when compiling documentation 2015-11-02 23:44:53 +00:00
default-impl.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
deprecated-impls.rs rustdoc: Add stability notices to impl items 2016-06-15 23:56:24 +01:00
deprecated.rs Support #[deprecated] in rustdoc 2015-12-12 23:01:27 +03:00
escape-rust-expr.rs rustdoc: HTML-escape Rust code (from constants) 2016-05-03 13:31:29 +02:00
extern-default-method.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
extern-impl.rs rustdoc: Render extern fn instead of extern "C" fn 2016-04-27 18:43:51 +01:00
extern-links.rs rustdoc: Fix methods in seach results 2016-07-12 12:58:06 +01:00
extern-method.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
ffi.rs rustdoc: Render extern fn instead of extern "C" fn 2016-04-27 18:43:51 +01:00
hidden-impls.rs rustdoc: Fix a few stripping issues 2016-06-27 23:26:29 +01:00
hidden-line.rs Miscellaneous cleanup for old issues. 2015-09-20 11:37:08 +01:00
hidden-methods.rs rustdoc: Fix a few stripping issues 2016-06-27 23:26:29 +01:00
impl-parts-crosscrate.rs Add test of cross-crate impl formatting 2015-07-20 20:09:36 -04:00
impl-parts.rs Add test of impl formatting 2015-07-19 22:16:35 -04:00
inline-default-methods.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-12834.rs Make some fatal lexer errors recoverable 2016-04-27 20:48:18 +02:00
issue-13698.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-15169.rs rustdoc: Add a test for #15169 2015-04-07 17:54:33 -07:00
issue-15318-2.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-15318-3.rs rustdoc: Add a primitive page for raw pointers 2015-04-07 17:54:33 -07:00
issue-15318.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
issue-15347.rs Split out rustdoc pass to strip private imports 2016-03-06 08:18:58 +01:00
issue-16019.rs rustdoc: Add a test for fixed issue #16019 2015-04-07 17:54:34 -07:00
issue-16265-1.rs rustdoc: Only hide possibly private modules 2015-04-07 17:54:34 -07:00
issue-16265-2.rs rustdoc: Only hide possibly private modules 2015-04-07 17:54:34 -07:00
issue-17476.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-18199.rs Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
issue-19055.rs rustdoc: Render methods/impls for bare traits 2015-04-07 17:54:34 -07:00
issue-19190-2.rs Rustdoc: ignore deref-inherited static methods 2015-05-25 15:35:10 +02:00
issue-19190-3.rs Rustdoc: ignore deref-inherited static methods 2015-05-25 15:35:10 +02:00
issue-19190.rs Review changes 2016-08-17 16:12:37 +12:00
issue-20175.rs rustdoc: Show impls for references to types 2015-04-07 17:54:34 -07:00
issue-20646.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-20727-2.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-20727-3.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-20727-4.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-20727.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-21092.rs Review changes 2016-08-17 16:12:37 +12:00
issue-21474.rs rustdoc: Don't duplicate inlined impl blocks 2015-04-07 17:54:34 -07:00
issue-21801.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-22025.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-22038.rs rustdoc: Render extern fn instead of extern "C" fn 2016-04-27 18:43:51 +01:00
issue-23106.rs rustdoc: Handle tests with bare # marks 2015-04-07 17:54:34 -07:00
issue-23207.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-23511.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
issue-23744.rs rustdoc: Add a test for should_fail in doctests 2015-04-07 17:54:35 -07:00
issue-23812.rs Fix doc comment parsing in macros. 2015-07-18 11:34:59 +01:00
issue-25001.rs Review changes 2016-08-17 16:12:37 +12:00
issue-25944.rs rustdoc: remove artificial indentation of doctest code 2016-05-09 22:46:40 +02:00
issue-26606.rs rustdoc: remove the ! from macro URLs and titles 2016-08-18 15:40:56 +12:00
issue-26995.rs Fix source-links for files with absolute-paths 2016-02-24 19:43:02 +01:00
issue-27104.rs Split out rustdoc pass to strip private imports 2016-03-06 08:18:58 +01:00
issue-27362.rs Ignore a rustdoc test that does not work on beta 2016-03-03 00:40:34 +00:00
issue-27759.rs Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
issue-27862.rs Update hoedown to latest version (3.0.4). 2015-08-24 19:21:08 +01:00
issue-28478.rs Linkify associated types and constants 2016-03-27 00:21:00 +01:00
issue-28927.rs Store a valid name for the root module in metadata 2015-11-13 09:05:38 +01:00
issue-29449.rs Add tests 2015-12-05 23:11:07 +01:00
issue-29503.rs rustdoc: do not strip blanket impls in crate of origin 2016-05-09 16:50:47 +02:00
issue-29584.rs Don't inline impls from doc(hidden) modules 2016-02-26 15:56:46 +01:00
issue-30109.rs Use the extern item-path for documentation links 2015-12-03 23:11:19 +01:00
issue-30252.rs Use --cfg when running doctests 2015-12-15 18:03:55 +09:00
issue-30366.rs Shorten docstrings after Markdown rendering 2016-02-12 14:12:27 +01:00
issue-31808.rs Don't show associated consts from trait impls 2016-02-23 21:47:13 +01:00
issue-31899.rs Clearly separate code blocks from other blocks 2016-02-27 06:42:21 +01:00
issue-32374.rs rustdoc: don't collapse docblock-short 2016-09-09 12:28:37 +08:00
issue-32395.rs Load struct-variant data correctly from metadata 2016-03-27 00:21:00 +01:00
issue-32890.rs rustdoc: Disambiguate anchors for assoc item impls 2016-04-17 21:41:55 -04:00
issue-33069.rs Fix the strip-hidden ImplStripper 2016-04-18 17:32:00 +02:00
issue-33178-1.rs Linkify extern crates on rustdoc pages 2016-04-25 11:26:33 +02:00
issue-33178.rs Linkify extern crates on rustdoc pages 2016-04-25 11:26:33 +02:00
issue-33302.rs evaluate the array length of fixed size array types in rustdoc 2016-07-13 10:35:58 +02:00
issue-33592.rs rustdoc: Fix missing type parameters on impls 2016-05-12 20:08:33 +01:00
issue-34025.rs rustdoc: Don't generate empty files for stripped items 2016-06-02 17:49:53 +01:00
issue-34274.rs rustdoc: Fix a couple of issues with src links to external crates 2016-06-20 22:22:17 +01:00
issue-34423.rs rustdoc: Fix panic caused by doc(hidden) trait methods 2016-06-23 23:25:03 +01:00
issue-34473.rs rustdoc: Fix inlined renamed reexports in import lists 2016-06-26 03:08:10 +01:00
issue-34928.rs rustdoc: Fix tuple struct where clause rendering 2016-07-25 18:53:31 +01:00
issue-35169-2.rs rustdoc: Filter more incorrect methods inherited through Deref 2016-09-05 20:24:55 +02:00
issue-35169.rs rustdoc: Filter more incorrect methods inherited through Deref 2016-09-05 20:24:55 +02:00
issue-36031.rs rustdoc: Fix associated consts in search results 2016-08-29 18:36:57 +01:00
macros.rs Redirect 2016-08-19 08:20:06 +12:00
manual_impl.rs Update tests 2016-05-20 17:44:31 +05:30
module-impls.rs rustdoc: Fix empty Implementations section on some module pages 2016-06-28 22:53:50 +01:00
must-use.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
negative-impl.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
no-run-still-checks-lints.rs rustdoc: Fix testing no_run code blocks 2016-04-11 09:26:59 -07:00
prim-title.rs rustdoc: Remove paths from primitive page <title> tags 2016-06-30 23:22:16 +01:00
private-type-alias.rs Add test for recursive private alias substitution in rustdoc 2016-08-11 00:41:58 +03:00
recursion1.rs Remove feature(globs) since they are stable 2016-03-10 03:29:55 +01:00
recursion2.rs Remove feature(globs) since they are stable 2016-03-10 03:29:55 +01:00
recursion3.rs Remove feature(globs) since they are stable 2016-03-10 03:29:55 +01:00
redirect-const.rs rustdoc: Fix generating redirect pages for statics and consts 2016-06-03 22:59:45 +01:00
redirect-rename.rs rustdoc: Fix redirect pages for renamed reexports 2016-06-14 15:24:06 +01:00
redirect.rs Make the rendering process less pass-aware 2016-04-02 12:00:55 +02:00
rustc-macro-crate.rs rustdoc: Fix documenting rustc-macro crates 2016-09-30 10:49:30 -07:00
search-index.rs rustdoc: Skip types in impls in search index 2015-05-21 14:17:37 +02:00
smoke.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
src-links-external.rs rustdoc: Fix a couple of issues with src links to external crates 2016-06-20 22:22:17 +01:00
src-links.rs Review changes 2016-08-17 16:12:37 +12:00
structfields.rs rustdoc: Don't add extra newlines for fully opaque structs 2016-09-09 01:41:42 +01:00
titles.rs rustdoc: Add missing item types to page titles 2016-08-27 17:00:36 +01:00
trait-self-link.rs Add a test 2016-04-06 01:24:49 +09:00
tuples.rs rustdoc: Add test for tuple rendering 2016-01-28 23:41:53 +00:00
union.rs Support unions in rustdoc 2016-09-03 13:39:34 +03:00
variadic.rs rustdoc: Render extern fn instead of extern "C" fn 2016-04-27 18:43:51 +01:00
viewpath-rename.rs rustc: rename multiple imports in a list 2015-08-08 11:54:15 -07:00
viewpath-self.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
where.rs rustdoc: Fix tuple struct where clause rendering 2016-07-25 18:53:31 +01:00