<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc-json, branch 1.62.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.62.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.62.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-03-15T18:34:16+00:00</updated>
<entry>
<title>rustdoc-json: Lifetime tests</title>
<updated>2022-03-15T18:34:16+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-03-11T19:11:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26829c03b0689c53e09e5bdfc329de78e95791f4'/>
<id>urn:sha1:26829c03b0689c53e09e5bdfc329de78e95791f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-json: Add tests for generic fn args and returns</title>
<updated>2022-03-15T18:34:16+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-03-10T15:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42b548cf9d875d878a90e676894c957167796458'/>
<id>urn:sha1:42b548cf9d875d878a90e676894c957167796458</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-json: Add test for supertraits</title>
<updated>2022-03-15T18:23:07+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-02-20T22:51:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a57399ab0b41b94afb5ef8815f2863ba2507d65'/>
<id>urn:sha1:4a57399ab0b41b94afb5ef8815f2863ba2507d65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-json-types: implementors -&gt; implementations</title>
<updated>2022-03-14T00:05:11+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-03-13T23:37:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a5c0b1470cc48e665eabf29881dd87438973ab97'/>
<id>urn:sha1:a5c0b1470cc48e665eabf29881dd87438973ab97</id>
<content type='text'>
Closes #94198
</content>
</entry>
<entry>
<title>rustdoc-json-types: ty -&gt; type_</title>
<updated>2022-03-13T23:13:57+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-03-13T23:13:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b526d8f27c37a7ab6d567d5eff90291082841c46'/>
<id>urn:sha1:b526d8f27c37a7ab6d567d5eff90291082841c46</id>
<content type='text'>
Fixes #94889
</content>
</entry>
<entry>
<title>rustdoc-json: Make the `fns/generics.rs` test much more robust</title>
<updated>2022-03-04T04:54:12+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-02-25T19:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a424f42e97f2d1696f51a4bb71f4d305dedeb847'/>
<id>urn:sha1:a424f42e97f2d1696f51a4bb71f4d305dedeb847</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-json: Include GenericParamDefKind::Type::synthetic in JSON</title>
<updated>2022-03-04T04:54:12+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>enselic@gmail.com</email>
</author>
<published>2022-02-19T08:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa763fcf421e627455aa1de16df1292c8e1bcb9d'/>
<id>urn:sha1:aa763fcf421e627455aa1de16df1292c8e1bcb9d</id>
<content type='text'>
The rustdoc JSON for

```
pub fn f(_: impl Clone) {}
```

will effectively be

```
pub fn f&lt;impl Clone: Clone&gt;(_: impl Clone)
```

where a synthetic generic parameter called `impl Clone` with generic
trait bound `Clone` is added to the function declaration.

The generated HTML filters out these generic parameters by doing
`self.params.iter().filter(|p| !p.is_synthetic_type_param())`, because
the synthetic generic parameter is not of interest to regular users.

For the same reason, we should expose whether or not a generic parameter
is synthetic or not also in the rustdoc JSON, so that rustdoc JSON
clients can also have the option to hide synthetic generic parameters.
</content>
</entry>
<entry>
<title>add tests</title>
<updated>2022-03-03T21:01:35+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-02-20T03:34:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0e57a16c88cbb042bf4d19934e0ccdd3838645ec'/>
<id>urn:sha1:0e57a16c88cbb042bf4d19934e0ccdd3838645ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-json: Add tests for fn qualifiers and ABI</title>
<updated>2022-02-18T23:48:41+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-02-18T23:32:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd5adefce11c820b5ee1045058a435aa174bccf4'/>
<id>urn:sha1:fd5adefce11c820b5ee1045058a435aa174bccf4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-json: Add some tests for `typealias` item</title>
<updated>2022-02-09T16:10:58+00:00</updated>
<author>
<name>Nixon Enraght-Moony</name>
<email>nixon.emoony@gmail.com</email>
</author>
<published>2022-02-04T19:49:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf0e862903c4a799dd08dd00ffe68f9756fc6eb1'/>
<id>urn:sha1:bf0e862903c4a799dd08dd00ffe68f9756fc6eb1</id>
<content type='text'>
</content>
</entry>
</feed>
