<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_builtin_macros/src, 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-07-31T12:19:27+00:00</updated>
<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>expand: Micro-optimize prelude injection</title>
<updated>2025-07-28T14:35:09+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-07-28T14:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c56f49dc34f43568122f057d72f3472b3fcd4d8e'/>
<id>urn:sha1:c56f49dc34f43568122f057d72f3472b3fcd4d8e</id>
<content type='text'>
Use `splice` to avoid shifting the other items twice.
Put `extern crate std;` first so it's already resolved when we resolve `::std::prelude::rust_20XX`.

</content>
</entry>
<entry>
<title>Use the new attributes throughout the codebase</title>
<updated>2025-07-26T18:26:05+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-07T18:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec637000c6d5436b165a9b9ab4b008c036d22c99'/>
<id>urn:sha1:ec637000c6d5436b165a9b9ab4b008c036d22c99</id>
<content type='text'>
Signed-off-by: Jonathan Brouwer &lt;jonathantbrouwer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-dead</title>
<updated>2025-07-18T12:49:19+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-18T12:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82fbbddf633f104cbfac6f388fa96e0b94971ad9'/>
<id>urn:sha1:82fbbddf633f104cbfac6f388fa96e0b94971ad9</id>
<content type='text'>
Make slice comparisons const

This needed a fix for `derive_const`, too, as it wasn't usable in libcore anymore as trait impls need const stability attributes. I think we can't use the same system as normal trait impls while `const_trait_impl` is still unstable.

r? ```@fee1-dead```

cc rust-lang/rust#143800
</content>
</entry>
<entry>
<title>Make `derive_const` usable within libcore again</title>
<updated>2025-07-17T15:42:54+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-07-11T10:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=250648e871c1e685f09427bd31fd399090f15640'/>
<id>urn:sha1:250648e871c1e685f09427bd31fd399090f15640</id>
<content type='text'>
Also make it *only* usable on nightly
</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>Auto merge of #143958 - samueltardieu:rollup-lh1s143, r=samueltardieu</title>
<updated>2025-07-15T11:42:55+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-15T11:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e27f16a499074ba9a87f7f7641d9f64c572863bc'/>
<id>urn:sha1:e27f16a499074ba9a87f7f7641d9f64c572863bc</id>
<content type='text'>
Rollup of 13 pull requests

Successful merges:

 - rust-lang/rust#142301 (tests: Fix duplicated-path-in-error fail with musl)
 - rust-lang/rust#143630 (Drop `./x suggest`)
 - rust-lang/rust#143736 (Give all bytes of TypeId provenance)
 - rust-lang/rust#143752 (Don't panic if WASI_SDK_PATH not set when detecting compiler)
 - rust-lang/rust#143837 (Adjust `run_make_support::symbols` helpers)
 - rust-lang/rust#143878 (Port `#[pointee]` to the new attribute parsing infrastructure)
 - rust-lang/rust#143905 (Recover and suggest to use `;` to construct array type)
 - rust-lang/rust#143907 (core: make `str::split_at_unchecked()` inline)
 - rust-lang/rust#143910 (Add experimental `backtrace-trace-only` std feature)
 - rust-lang/rust#143927 (Preserve constness in trait objects up to hir ty lowering)
 - rust-lang/rust#143935 (rustc_type_ir/walk: move docstring to `TypeWalker` itself)
 - rust-lang/rust#143938 (Update books)
 - rust-lang/rust#143941 (update `cfg_select!` documentation)

Failed merges:

 - rust-lang/rust#143926 (Remove deprecated fields in bootstrap)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Allow `Early` stage to emit errors</title>
<updated>2025-07-15T07:01:03+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-07T07:06:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38dd6f5206dea1388755c48afe55ad5af5a12577'/>
<id>urn:sha1:38dd6f5206dea1388755c48afe55ad5af5a12577</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update `cfg_select!` documentation</title>
<updated>2025-07-14T20:29:28+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-07-14T09:03:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d0153f5872c484dff2a4b0ef6cad45c1f14fa1b7'/>
<id>urn:sha1:d0153f5872c484dff2a4b0ef6cad45c1f14fa1b7</id>
<content type='text'>
and make internal terminology consistent

Co-authored-by: Travis Cross &lt;tc@traviscross.com&gt;
</content>
</entry>
<entry>
<title>make `cfg_select` a builtin macro</title>
<updated>2025-07-13T12:34:40+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-07-04T21:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3689b80b75bb400e740897ec83e64be332098c0d'/>
<id>urn:sha1:3689b80b75bb400e740897ec83e64be332098c0d</id>
<content type='text'>
</content>
</entry>
</feed>
