<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/for-lifetime.rs, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-06-18T19:58:09+00:00</updated>
<entry>
<title>rustdoc: Render `for&lt;'_&gt;` lifetimes in trait objects</title>
<updated>2021-06-18T19:58:09+00:00</updated>
<author>
<name>Justus K</name>
<email>justus.k@protonmail.com</email>
</author>
<published>2021-05-18T08:06:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f65f56461fa72df809fff43975a7e72f08fda44'/>
<id>urn:sha1:1f65f56461fa72df809fff43975a7e72f08fda44</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>
<entry>
<title>rustdoc: Render HRTB correctly for bare functions</title>
<updated>2021-01-28T03:55:46+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2020-12-12T19:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cd8dceef863378706bc27e0a3545c9251f02ec8b'/>
<id>urn:sha1:cd8dceef863378706bc27e0a3545c9251f02ec8b</id>
<content type='text'>
The angle brackets were not rendered, so code like this:

    some_func: for&lt;'a&gt; fn(val: &amp;'a i32) -&gt; i32

would be rendered as:

    some_func: fn'a(val: &amp;'a i32) -&gt; i32

However, rendering with angle brackets is still invalid syntax:

    some_func: fn&lt;'a&gt;(val: &amp;'a i32) -&gt; i32

so now it renders correctly as:

    some_func: for&lt;'a&gt; fn(val: &amp;'a i32) -&gt; i32

-----

However, note that this code:

    some_trait: dyn for&lt;'a&gt; Trait&lt;'a&gt;

will still render as:

    some_trait: dyn Trait&lt;'a&gt;

which is not invalid syntax, but is still unclear. Unfortunately I think
it's hard to fix that case because there isn't enough information in the
`rustdoc::clean::Type` that this code operates on. Perhaps that case can
be fixed in a later PR.
</content>
</entry>
</feed>
