rust/src/test
bors d6b927dd91 Auto merge of #38843 - Manishearth:proposed, r=GuillaumeGomez
Improved rustdoc rendering for unstable features

This replaces "unstable" with "this is an experimental API", and uses a `<details>` tag to expand to the reason.

The `<details>` tag renders as a regular div (with the details show) on browsers which don't support it, On browsers which do support it, it shows only the summary line with an expandy-arrow next to it, and on clicking it the details will turn up below it.

This is somewhat a strawman proposal. The main issue is that we need to improve our messaging around unstable APIs. Since they turn up in the docs, we should be clearer that they are experimental (and perhaps add something about nightly-only). I'm making this PR to kickstart discussion on this.

Example rendering: http://manishearth.github.io/rust-internals-docs/std/io/trait.Read.html#method.chars

<img width="375" alt="screen shot 2017-01-04 at 10 15 37 pm" src="https://cloud.githubusercontent.com/assets/1617736/21670712/5a96c7de-d2cb-11e6-86a6-87f70818d634.png">

expands to

<img width="799" alt="screen shot 2017-01-04 at 10 15 43 pm" src="https://cloud.githubusercontent.com/assets/1617736/21670714/5db88bb4-d2cb-11e6-8fcc-5cf11d198b75.png">

cc @steveklabnik @jdub
2017-01-10 21:16:06 +00:00
..
codegen Replace BlockAndBuilder with Builder. 2017-01-04 11:33:31 -07:00
codegen-units Fix fallout in tests. 2016-09-27 06:43:51 +00:00
compile-fail Auto merge of #38861 - est31:master, r=alexcrichton 2017-01-08 19:50:57 +00:00
compile-fail-fulldeps Auto merge of #38792 - jseyfried:improve_macros_11_diagnostics, r=nikomatsakis 2017-01-06 19:23:06 +00:00
debuginfo Auto merge of #38473 - zackmdavis:issue_kebab, r=sanxiyn 2017-01-03 09:42:22 +00:00
incremental ICH: Add some more test cases for trait impls. 2017-01-05 10:53:29 -05:00
mir-opt Auto merge of #38332 - bluss:copy-prop-arguments, r=eddyb 2016-12-14 06:26:21 +00:00
parse-fail Fix parse-fail and compile-fail tests 2016-12-30 15:17:26 +01:00
pretty Pretty-print $crate::foo::bar as ::foo::bar. 2016-12-22 06:14:36 +00:00
run-fail Warn when a #[should_panic] test has an unexpected message 2016-11-18 21:01:19 +10:30
run-fail-fulldeps Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
run-make Auto merge of #38783 - alexcrichton:stabilize-proc-macro, r=nikomatsakis 2017-01-04 20:06:21 +00:00
run-pass Auto merge of #38934 - Manishearth:nodrop, r=eddyb 2017-01-10 02:45:37 +00:00
run-pass-fulldeps rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
run-pass-valgrind Fix some pretty printing tests 2016-10-18 23:23:40 +03:00
rustdoc Improved rustdoc rendering for unstable features 2017-01-09 21:50:00 -08:00
ui Rollup merge of #38607 - estebank:test-for-36935, r=alexcrichton 2017-01-10 20:27:39 +09:00