rust/src/test/rustdoc
Manish Goregaokar 631e7b4eaa
Rollup merge of #33372 - birkenfeld:rustdoc-escape-code, r=cmr
rustdoc: HTML-escape Rust code (from constants)

Especially in cases like the one in the test file, this can blow up the rendering big time if string constants in the code contain HTML.

But also other constants can contain special chars (e.g. `&` as an operator in constant expressions).
2016-05-03 19:54:59 +05:30
..
duplicate_impls Only record the same impl once 2016-04-22 19:10:30 +02:00
inline_cross Check reachability for inlined extern links too 2016-04-24 20:32:21 +02:00
inline_local Consider doc(no_inline) in crate-local inlining 2016-03-22 21:11:00 +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 rustdoc: Fix associated types in signatures 2015-05-25 19:06:58 +02: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.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-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-line.rs Miscellaneous cleanup for old issues. 2015-09-20 11:37:08 +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 Rustdoc: ignore deref-inherited static methods 2015-05-25 15:35:10 +02: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 Fix associated item identifiers 2016-02-12 10:26:46 +01: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 Adjust rustdoc test for new restriction 2016-03-11 15:22:07 -08:00
issue-26606.rs Omit src-links for items from extern macros 2016-02-12 22:45:17 +01: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-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 show unstable status for deprecated items 2016-04-22 23:35:48 -04: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 rustdoc: fix inserting source code spans for constant values 2016-05-03 13:09:42 +02:00
macros.rs Add a test 2015-11-28 14:47:12 +01:00
manual_impl.rs Add flag for whether an item is default or not. 2016-04-15 14:41:54 +10: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
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.rs Make the rendering process less pass-aware 2016-04-02 12:00:55 +02: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.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
structfields.rs Refactor HiddenStructField into StrippedItem 2016-04-02 13:47:05 +02: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
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: Show where clauses in type aliases 2015-05-25 23:10:36 +02:00