<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc, branch automation/bors/try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/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>Update tests</title>
<updated>2023-01-06T16:48:23+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2023-01-05T04:17:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5d1c5716747ded8ca9746be71e70cceeaa9f422'/>
<id>urn:sha1:d5d1c5716747ded8ca9746be71e70cceeaa9f422</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Rptr` to `Ref` in AST and HIR</title>
<updated>2022-12-28T17:52:36+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-12-28T17:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9067e4417e52643596ae8dbc4ec6369a0d856b45'/>
<id>urn:sha1:9067e4417e52643596ae8dbc4ec6369a0d856b45</id>
<content type='text'>
The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already
as well.
</content>
</entry>
<entry>
<title>Auto merge of #106034 - matthiaskrgr:rollup-2zpql33, r=matthiaskrgr</title>
<updated>2022-12-22T11:06:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-12-22T11:06:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d8651a92761421b0437ffb44ba5670bea5ee1df'/>
<id>urn:sha1:2d8651a92761421b0437ffb44ba5670bea5ee1df</id>
<content type='text'>
Rollup of 8 pull requests

Successful merges:

 - #104741 (Switch `#[track_caller]` back to a no-op unless feature gate is enabled)
 - #105769 (add function to tell the identical errors for ambiguity_errors)
 - #105843 (Suggest associated const on possible capitalization mistake)
 - #105966 (Re-enable `Fn` trait call notation error for non-tuple argument)
 - #106002 (codegen tests: adapt patterns to also work with v0 symbol mangling)
 - #106010 (Give opaque types a better coherence error)
 - #106016 (rustdoc: simplify link anchor to section expand JS)
 - #106024 (Fix ICE due to `todo!()` in `rustdoc` for `Term`s)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Auto merge of #104889 - GuillaumeGomez:fix-impl-block-in-const-expr, r=notriddle</title>
<updated>2022-12-22T08:37:58+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-12-22T08:37:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cce9e72c55994335f8d1dac892cca755b65c8f43'/>
<id>urn:sha1:cce9e72c55994335f8d1dac892cca755b65c8f43</id>
<content type='text'>
Fix impl block in const expr

Fixes #83026.

The problem was that we didn't visit block expressions. Considering how big the [walk_expr](https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_hir/intravisit.rs.html#678) function is, I decided to instead implement the `hir` visitor on the struct. It also answers the question which was in a comment for `RustdocVisitor`: we should have used a visitor instead of our ad-hoc implementation.

Adding this visitor also added some extra checks that weren't present before (check changes in `rustdoc-ui` tests).

r? `@notriddle`
</content>
</entry>
<entry>
<title>Fix ICE</title>
<updated>2022-12-22T01:24:43+00:00</updated>
<author>
<name>kadmin</name>
<email>julianknodt@gmail.com</email>
</author>
<published>2022-12-21T23:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a4cbf4f7b7777b7553dd6ae05c7d57e5a20ebfa'/>
<id>urn:sha1:8a4cbf4f7b7777b7553dd6ae05c7d57e5a20ebfa</id>
<content type='text'>
Left a todo awhile ago (I think), so fill it in to print a const for `Term`s.
</content>
</entry>
<entry>
<title>Add test for presence of read more links</title>
<updated>2022-12-16T13:52:35+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-12-16T13:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=80059e1b7274fc7ba8d9201ea075fd1c7b7608f1'/>
<id>urn:sha1:80059e1b7274fc7ba8d9201ea075fd1c7b7608f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: stop treating everything in a trait item as a method</title>
<updated>2022-12-12T19:49:29+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-12-12T19:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e64cebf97df021b7ece9df435e748652e0b2e83'/>
<id>urn:sha1:7e64cebf97df021b7ece9df435e748652e0b2e83</id>
<content type='text'>
This was added in 0b9b4b70683db6ef707755f520f139eb7b92a944 to fix the
spacing on trait pages, but stopped being needed because
791f04e5a47ee78951552c7ed1545b2b01a44c74 stopped styling method-toggle.
By only putting the method-toggle class on actual methods, the JS setting
does the right thing.
</content>
</entry>
<entry>
<title>Update rustdoc test to check its error output</title>
<updated>2022-12-08T13:08:58+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-12-07T15:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5a9f6a5373a6e2f188417ed734b9f94fc16ac51'/>
<id>urn:sha1:b5a9f6a5373a6e2f188417ed734b9f94fc16ac51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add regression test for impl blocks in const expr</title>
<updated>2022-12-07T19:29:50+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-11-25T14:42:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cce0bc583ee2cff88935ce0e08d8ec1eb1239a8'/>
<id>urn:sha1:9cce0bc583ee2cff88935ce0e08d8ec1eb1239a8</id>
<content type='text'>
</content>
</entry>
</feed>
