<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/const-generics/const-impl.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: update test cases now that code-header is used without in-band</title>
<updated>2022-09-25T20:52:26+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-09-25T20:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ba40314e1a28e6230c6f404ee3b23de3efb7709'/>
<id>urn:sha1:4ba40314e1a28e6230c6f404ee3b23de3efb7709</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: Add more semantic information to impl ids</title>
<updated>2022-07-05T17:43:52+00:00</updated>
<author>
<name>pierwill</name>
<email>pierwill@users.noreply.github.com</email>
</author>
<published>2022-01-10T21:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=499e024ac967a2315bd6dc88086999b92a254a0b'/>
<id>urn:sha1:499e024ac967a2315bd6dc88086999b92a254a0b</id>
<content type='text'>
Instead of generating `#impl`, `#impl-1`, etc., generate IDs
like `#impl-Foo&lt;M&gt;`.

Co-authored-by: Noah Lev &lt;camelidcamel@gmail.com&gt;
</content>
</entry>
<entry>
<title>Emit valid HTML from rustdoc</title>
<updated>2022-02-02T08:29:33+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-02-02T06:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32f62607c3142dfc9eb56a0bd72dee298ca43358'/>
<id>urn:sha1:32f62607c3142dfc9eb56a0bd72dee298ca43358</id>
<content type='text'>
Previously, tidy-html5 (`tidy`) would complain about a few things in our
HTML. The main thing is that `&lt;summary&gt;` tags can't contain `&lt;div&gt;`s.
That's easily fixed by changing out the `&lt;div&gt;`s for `&lt;span&gt;`s with
`display: block`.

However, there's also a rule that `&lt;span&gt;`s can't contain heading
elements. `&lt;span&gt;` permits only "phrasing content"
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span, and
`&lt;h3&gt;` (and friends) are "Flow content, heading content, palpable
content".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

We have a wrapping `&lt;div&gt;` that goes around each `&lt;h3&gt;`/`&lt;h4&gt;`,
etc. We turn that into a `&lt;section&gt;` rather than a `&lt;span&gt;` because
`&lt;section&gt;` permits "flow content".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section

After this change we get only three warnings from tidy, run on
struct.String.html:

line 6 column 10790 - Warning: trimming empty &lt;span&gt;
line 1 column 1118 - Warning: &lt;link&gt; proprietary attribute "disabled"
line 1 column 1193 - Warning: &lt;link&gt; proprietary attribute "disabled"

The empty `&lt;span&gt;` is a known issue - there's a span in front of the
search box to work around a strange Safari issue.

The `&lt;link&gt;` attributes are the non-default stylesheets. We can probably
refactor theme application to avoid using this proprietary "disabled"
attribute.
</content>
</entry>
<entry>
<title>Fix warnings in rustdoc HTML tests</title>
<updated>2021-11-28T19:49:12+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-11-26T23:03:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee58c06a12fc74dbc553eb3d63281fd8d8cf4137'/>
<id>urn:sha1:ee58c06a12fc74dbc553eb3d63281fd8d8cf4137</id>
<content type='text'>
Now that compiletest denies warnings in these tests, they need fixing!
</content>
</entry>
<entry>
<title>`feature(const_param_types)` -&gt; `feature(adt_const_params)`</title>
<updated>2021-08-30T10:07:36+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2021-08-30T08:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87e781799a160129169b838e900aaef8ecb3a9dd'/>
<id>urn:sha1:87e781799a160129169b838e900aaef8ecb3a9dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>`feature(const_generics)` -&gt; `feature(const_param_types)`</title>
<updated>2021-08-30T09:00:21+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2021-08-27T16:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0c28e028b6f45f33447f24de7dd762b8599b7a4e'/>
<id>urn:sha1:0c28e028b6f45f33447f24de7dd762b8599b7a4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rustdoc accessibility: use real headers for doc items</title>
<updated>2021-07-25T21:41:57+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-07-25T21:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30'/>
<id>urn:sha1:76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30</id>
<content type='text'>
Part of #87059

Partially reverts #84703

Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
</content>
</entry>
<entry>
<title>Replace h3 and h4 containing invalid DOM</title>
<updated>2021-06-01T19:19:28+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-04-23T20:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9077d540da944c41678a7129e04e7fc5d7e38582'/>
<id>urn:sha1:9077d540da944c41678a7129e04e7fc5d7e38582</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant `ignore-tidy-linelength` annotations</title>
<updated>2021-04-03T20:30:20+00:00</updated>
<author>
<name>Simon Jakobi</name>
<email>simon.jakobi@gmail.com</email>
</author>
<published>2021-04-03T11:05:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ea62cb5d19846b44172d861ae231c8c09322800'/>
<id>urn:sha1:3ea62cb5d19846b44172d861ae231c8c09322800</id>
<content type='text'>
This is step 2 towards fixing #77548.

In the codegen and codegen-units test suites, the `//` comment markers
were kept in order not to affect any source locations. This is because
these tests cannot be automatically `--bless`ed.
</content>
</entry>
</feed>
