<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/render.rs, branch 1.24.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.24.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.24.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-12-29T03:23:37+00:00</updated>
<entry>
<title>Auto merge of #46883 - QuietMisdreavus:faildown, r=GuillaumeGomez</title>
<updated>2017-12-29T03:23:37+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2017-12-29T03:23:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=966fdf15e2d2cb37fd565980b82f12c3859e48b6'/>
<id>urn:sha1:966fdf15e2d2cb37fd565980b82f12c3859e48b6</id>
<content type='text'>
rustdoc: add option to abort the process on markdown differences

In the efforts of keeping the std docs free of markdown warnings, this PR adds a stopgap measure to make sure the CI fails if it detects a markdown difference. It does this by adding a new unstable flag to rustdoc, `--deny-render-differences`, which bootstrap then passes to rustdoc when documenting std and friends.

The implementation is... probably not the cleanest option. It currently adds an extra branch after it prints the markdown warnings, which just prints a final line and calls `::std::process::abort(1)`. I did it like this because if it just panics regularly, it looks like an ICE, an even though `html::render::run` returns a Result, that Result is also just `expect`ed immediately, generating the same problem. This way bypasses the panic handler at the top of the thread and looks like a proper failure. Since i don't have a real error Handler there, this is the best i can do without pulling in a real error system for rustdoc.

This PR is blocked on https://github.com/rust-lang/rust/pull/46853, which will fix the rendering differences that were present on master when i started this branch.
</content>
</entry>
<entry>
<title>rustdoc: add option to abort process on markdown differences</title>
<updated>2017-12-27T16:09:22+00:00</updated>
<author>
<name>QuietMisdreavus</name>
<email>grey@quietmisdreavus.net</email>
</author>
<published>2017-12-20T16:20:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e766f60c44a3d83bd10143c32678d00e62c99a43'/>
<id>urn:sha1:e766f60c44a3d83bd10143c32678d00e62c99a43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #46922 - kennytm:rollup, r=kennytm</title>
<updated>2017-12-21T23:01:27+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2017-12-21T23:01:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba2741594ba2d4de2ad8cea69def6408ff5409af'/>
<id>urn:sha1:ba2741594ba2d4de2ad8cea69def6408ff5409af</id>
<content type='text'>
Rollup of 14 pull requests

- Successful merges: #46636, #46780, #46784, #46809, #46814, #46820, #46839, #46847, #46858, #46878, #46884, #46890, #46898, #46918
- Failed merges:
</content>
</entry>
<entry>
<title>Rollup merge of #46847 - GuillaumeGomez:more-sidebar-escape, r=QuietMisdreavus</title>
<updated>2017-12-21T18:50:52+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2017-12-21T18:50:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=256bf2be62cd1d124fbfe6c6a0fb9c43f4cb3e91'/>
<id>urn:sha1:256bf2be62cd1d124fbfe6c6a0fb9c43f4cb3e91</id>
<content type='text'>
Escape more items in the sidebar when needed

Fixes #46724.

r? @QuietMisdreavus
</content>
</entry>
<entry>
<title>Add GenericParam, refactor Generics in ast, hir, rustdoc</title>
<updated>2017-12-21T12:38:10+00:00</updated>
<author>
<name>Jonas Platte</name>
<email>jplatte+git@posteo.de</email>
</author>
<published>2017-10-16T19:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=78493ed21aaeb20a8d5f7bd08f26c0c9fd496ed4'/>
<id>urn:sha1:78493ed21aaeb20a8d5f7bd08f26c0c9fd496ed4</id>
<content type='text'>
The Generics now contain one Vec of an enum for the generic parameters,
rather than two separate Vec's for lifetime and type parameters.

Additionally, places that previously used Vec&lt;LifetimeDef&gt; now use
Vec&lt;GenericParam&gt; instead.
</content>
</entry>
<entry>
<title>Escape more items in the sidebar when needed</title>
<updated>2017-12-21T12:17:15+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2017-12-19T20:07:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4424d84fbe442fbf0dbad43ca1862544a6a5ec5'/>
<id>urn:sha1:d4424d84fbe442fbf0dbad43ca1862544a6a5ec5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add an option to allow rustdoc to list modules by appearance</title>
<updated>2017-12-17T15:22:50+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2017-12-17T15:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7104e8f7b4da1cfdbd82fa7c4f81ed31be22f95e'/>
<id>urn:sha1:7104e8f7b4da1cfdbd82fa7c4f81ed31be22f95e</id>
<content type='text'>
The `--sort-modules-by-appearance` option will list modules in the
order that they appear in the source, rather than sorting them
alphabetically (as is the default). This resolves #8552.
</content>
</entry>
<entry>
<title>Use PathBuf instead of String where applicable</title>
<updated>2017-12-14T10:22:08+00:00</updated>
<author>
<name>Oliver Schneider</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2017-12-14T07:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d732da813bac73d2c81caddd06df3df3d9609e3d'/>
<id>urn:sha1:d732da813bac73d2c81caddd06df3df3d9609e3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Try syntax for Option in place of macros or match</title>
<updated>2017-12-09T22:18:33+00:00</updated>
<author>
<name>Matt Brubeck</name>
<email>mbrubeck@limpet.net</email>
</author>
<published>2017-12-09T01:32:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3024c1434a667425d30e4b0785857381323712aa'/>
<id>urn:sha1:3024c1434a667425d30e4b0785857381323712aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #46247 - GuillaumeGomez:md-warnings, r=QuietMisdreqvus</title>
<updated>2017-12-08T14:10:07+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2017-12-08T14:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab79caa828cf955e658faa4386cf9e8e0a8c3e28'/>
<id>urn:sha1:ab79caa828cf955e658faa4386cf9e8e0a8c3e28</id>
<content type='text'>
Md warnings

Fixes #45365.

r? @QuietMisdreavus
</content>
</entry>
</feed>
