<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/prelude, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-17T15:42:54+00:00</updated>
<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>Remove the deprecated `concat_idents!` macro</title>
<updated>2025-06-24T11:07:16+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-06-19T06:12:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0e4de4ceb0086b7befab6736e45ac3efbc560cea'/>
<id>urn:sha1:0e4de4ceb0086b7befab6736e45ac3efbc560cea</id>
<content type='text'>
In [137653], the lang and libs-API teams did a joint FCP to deprecate
and eventually remove the long-unstable `concat_idents!` macro. The
deprecation is landing in 1.88, so do the removal here (target version
1.90).

This macro has been superseded by the more recent `${concat(...)}`
metavariable expression language feature, which avoids some of the
limitations of `concat_idents!`. The metavar expression is unstably
available under the [`macro_metavar_expr_concat`] feature.

History is mildly interesting here: `concat_idents!` goes back to 2011
when it was introduced with 513276e595f8 ("Add #concat_idents[] and
about the same:

    let asdf_fdsa = "&lt;.&lt;";
    assert(#concat_idents[asd,f_f,dsa] == "&lt;.&lt;");

    assert(#ident_to_str[use_mention_distinction]
           == "use_mention_distinction");

(That test existed from introduction until its removal here.)

Closes: https://www.github.com/rust-lang/rust/issues/29599

[137653]: https://www.github.com/rust-lang/rust/pull/137653
[`macro_metavar_expr_concat`]: https://www.github.com/rust-lang/rust/issues/124225
</content>
</entry>
<entry>
<title>update cfg(bootstrap)</title>
<updated>2025-05-12T13:33:37+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2025-05-10T08:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ce08ca5d6046600ff641bfa4018247f3b9451c5'/>
<id>urn:sha1:2ce08ca5d6046600ff641bfa4018247f3b9451c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Deprecate the unstable `concat_idents!`</title>
<updated>2025-04-24T22:14:23+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-02-26T04:25:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75a9be609ed3f932b9c1f15a18c8afbf41138893'/>
<id>urn:sha1:75a9be609ed3f932b9c1f15a18c8afbf41138893</id>
<content type='text'>
`concat_idents` has been around unstably for a long time, but there is
now a better (but still unstable) way to join identifiers using
`${concat(...)}` syntax with `macro_metavar_expr_concat`. This resolves
a lot of the problems with `concat_idents` and is on a better track
toward stabilization, so there is no need to keep both versions around.
`concat_idents!` still has a lot of use in the ecosystem so deprecate it
before removing, as discussed in [1].

Link: https://github.com/rust-lang/rust/issues/124225
[1]: https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/Removing.20.60concat_idents.60
</content>
</entry>
<entry>
<title>update cfgs</title>
<updated>2025-04-09T11:29:59+00:00</updated>
<author>
<name>Boxy</name>
<email>rust@boxyuwu.dev</email>
</author>
<published>2025-04-02T20:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c93005ee651422f1920ef2a68e5ab9ff772b4b06'/>
<id>urn:sha1:c93005ee651422f1920ef2a68e5ab9ff772b4b06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement `#[define_opaque]` attribute for functions.</title>
<updated>2025-03-11T12:05:02+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-07-26T10:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb4751d4b87e1c8ebdeb381abe3785486a59968e'/>
<id>urn:sha1:cb4751d4b87e1c8ebdeb381abe3785486a59968e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>span: add a "future" edition</title>
<updated>2025-02-24T14:35:30+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood2@arm.com</email>
</author>
<published>2025-02-12T05:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6bb98e7579b3d8711cc00dc95a9425395bae9df'/>
<id>urn:sha1:d6bb98e7579b3d8711cc00dc95a9425395bae9df</id>
<content type='text'>
It's hard to implement edition migrations without having a perma-unstable
"future" edition to target.
</content>
</entry>
<entry>
<title>Remove the common prelude module</title>
<updated>2025-02-11T21:04:27+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-11T20:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c24c0a023456c3d9e58f06a3abf0a83d335c6f6'/>
<id>urn:sha1:8c24c0a023456c3d9e58f06a3abf0a83d335c6f6</id>
<content type='text'>
This fixes the issues described in
https://github.com/rust-lang/rust/issues/136102. Primarily, this
resolves some issues with how the documentation for the prelude is
generated:

- It avoids showing "unstable" for macros in the prelude that are
  actually stable.
- Avoids duplication of some pages due to the previous lack of
  `doc(no_inline)`.
- Makes the different edition preludes consistent, and sets a pattern
  that can be used by future editions.

We may need to rearrange these modules in the future if we decide to
remove anything from the prelude again. If we do, I think we should look
into a different solution that avoids the documentation problems.
</content>
</entry>
<entry>
<title>remove Rustc{En,De}codable from library and compiler</title>
<updated>2025-01-14T15:16:38+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-01-07T17:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ac62f972fd47705f9d229e854772194565071eb'/>
<id>urn:sha1:9ac62f972fd47705f9d229e854772194565071eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make rustc_encodable_decodable feature properly unstable</title>
<updated>2025-01-14T15:16:38+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-13T17:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4df78a07e5c3ad032d59941b77ab394e4a75c7c1'/>
<id>urn:sha1:4df78a07e5c3ad032d59941b77ab394e4a75c7c1</id>
<content type='text'>
</content>
</entry>
</feed>
