<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/format.rs, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-01T04:38:19+00:00</updated>
<entry>
<title>Rollup merge of #143849 - lolbinarycat:rustdoc-priv-normalize-143222, r=GuillaumeGomez</title>
<updated>2025-08-01T04:38:19+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-01T04:38:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e6b80f34070f67f204d9b247c49e26da9328de35'/>
<id>urn:sha1:e6b80f34070f67f204d9b247c49e26da9328de35</id>
<content type='text'>
rustdoc: never link to unnamable items

fixes rust-lang/rust#143222
</content>
</entry>
<entry>
<title>remove rustc_attr_data_structures</title>
<updated>2025-07-31T12:19:27+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-07-31T09:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645'/>
<id>urn:sha1:e1d3ad89c7a2ad4f5d944a7fee1298ffe8c99645</id>
<content type='text'>
</content>
</entry>
<entry>
<title>impl items are never unnamable</title>
<updated>2025-07-22T22:11:48+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-07-19T19:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05a62c8a1172795709219aa5afc833eb1ab57c25'/>
<id>urn:sha1:05a62c8a1172795709219aa5afc833eb1ab57c25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: actually never link to unnamable types</title>
<updated>2025-07-22T22:11:48+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-07-15T21:06:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f57283d6141fcc430e739fc2ad633e8997a66310'/>
<id>urn:sha1:f57283d6141fcc430e739fc2ad633e8997a66310</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: never try to link to unnamable types</title>
<updated>2025-07-22T22:11:48+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-07-12T20:05:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4762694e4a4d04295c578a344d217e34067c608c'/>
<id>urn:sha1:4762694e4a4d04295c578a344d217e34067c608c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix clippy lints in librustdoc</title>
<updated>2025-07-19T14:20:47+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-19T14:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c75edc982c8cf67f30d9c082cf2670f59392ed2e'/>
<id>urn:sha1:c75edc982c8cf67f30d9c082cf2670f59392ed2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve path segment joining.</title>
<updated>2025-07-16T22:37:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-05-27T05:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb7aa9e4fdb88a4833274303899b9801ef924100'/>
<id>urn:sha1:fb7aa9e4fdb88a4833274303899b9801ef924100</id>
<content type='text'>
There are many places that join path segments with `::` to produce a
string. A lot of these use `join("::")`. Many in rustdoc use
`join_with_double_colon`, and a few use `.joined("..")`. One in Clippy
uses `itertools::join`. A couple of them look for `kw::PathRoot` in the
first segment, which can be important.

This commit introduces `rustc_ast::join_path_{syms,ident}` to do the
joining for everyone. `rustc_ast` is as good a location for these as
any, being the earliest-running of the several crates with a `Path`
type. Two functions are needed because `Ident` printing is more complex
than simple `Symbol` printing.

The commit also removes `join_with_double_colon`, and
`estimate_item_path_byte_length` with it.

There are still a handful of places that join strings with "::" that are
unchanged. They are not that important: some of them are in tests, and
some of them first split a path around "::" and then rejoin with "::".

This fixes one test case where `{{root}}` shows up in an error message.
</content>
</entry>
<entry>
<title>Change const trait bound syntax from ~const to [const]</title>
<updated>2025-06-26T13:46:45+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-03-11T12:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb7245a864613f290c5668f4f4e8376edd065dc6'/>
<id>urn:sha1:eb7245a864613f290c5668f4f4e8376edd065dc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support middle::ty assoc const eq predicates again</title>
<updated>2025-06-05T17:19:18+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-06-05T17:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95bf1275f599cc7bbec45f20c8d547366aaa9b39'/>
<id>urn:sha1:95bf1275f599cc7bbec45f20c8d547366aaa9b39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `should_show_cast` to `should_fully_qualify`</title>
<updated>2025-06-05T17:18:46+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-06-05T14:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=911d4a0c06bad14c8320344175a82451d26cbdaf'/>
<id>urn:sha1:911d4a0c06bad14c8320344175a82451d26cbdaf</id>
<content type='text'>
</content>
</entry>
</feed>
