<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloc/src, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-18T12:49:19+00:00</updated>
<entry>
<title>Rollup merge of #143909 - nik-rev:patch-1, r=jhpratt</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=744ca5959a665e23e7e7b30ecf81d17c22223cc2'/>
<id>urn:sha1:744ca5959a665e23e7e7b30ecf81d17c22223cc2</id>
<content type='text'>
docs(alloc::fmt): Make type optional, instead of matching empty string

Think this is clearer.

Noticed as I was implementing [`tree-sitter-rust-format-args`](https://github.com/nik-rev/tree-sitter-rust-format-args), and attempting to match the empty string results in an error.
</content>
</entry>
<entry>
<title>Rollup merge of #143595 - fee1-dead-contrib:push-sylpykzkmynr, r=RalfJung,fee1-dead</title>
<updated>2025-07-17T01:58:30+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-07-17T01:58:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=83288db888606371dfac6491fc5720d31774aa8c'/>
<id>urn:sha1:83288db888606371dfac6491fc5720d31774aa8c</id>
<content type='text'>
add `const_make_global`; err for `const_allocate` ptrs if didn't call

Implements as discussed on Zulip: [#t-compiler/const-eval &gt; const heap](https://rust-lang.zulipchat.com/#narrow/channel/146212-t-compiler.2Fconst-eval/topic/const.20heap/with/527125421)

r? ```@rust-lang/wg-const-eval```

Fixes https://github.com/rust-lang/rust/issues/129233
</content>
</entry>
<entry>
<title>add `const_make_global`; err for `const_allocate` ptrs if didn't call</title>
<updated>2025-07-15T16:32:12+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-07-07T16:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f2dc2bd1a2e0120b868911497ddbd8e43f3a9fa'/>
<id>urn:sha1:3f2dc2bd1a2e0120b868911497ddbd8e43f3a9fa</id>
<content type='text'>
Co-Authored-By: Ralf Jung &lt;post@ralfj.de&gt;
Co-Authored-By: Oli Scherer &lt;github333195615777966@oli-obk.de&gt;
</content>
</entry>
<entry>
<title>Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlin</title>
<updated>2025-07-15T14:47:10+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-15T14:47:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3014e79f9c8d5510ea7b3a3b70d171d0948b1e96'/>
<id>urn:sha1:3014e79f9c8d5510ea7b3a3b70d171d0948b1e96</id>
<content type='text'>
`std::vec`: Add UB check for `set_len`, `from_raw_parts_in`, and etc.

Closes rust-lang/rust#143813

I noticed that `from_parts_in` do the similar things like `from_raw_parts_in`, so I add the UB check in the last commit. If it is not appropriate, I will remove it.

And I fix a typo in the first commit.

r? `@scottmcm`
</content>
</entry>
<entry>
<title>docs(alloc::fmt): Make `type` optional, instead of matching the empty string</title>
<updated>2025-07-13T22:24:27+00:00</updated>
<author>
<name>Nik Revenco</name>
<email>pm@nikrev.com</email>
</author>
<published>2025-07-13T22:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f5485e55644cea6395fb2196b915dee1b48f6427'/>
<id>urn:sha1:f5485e55644cea6395fb2196b915dee1b48f6427</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update issue number for `const_trait_impl`</title>
<updated>2025-07-13T15:55:06+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-07-13T08:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b02597ed3dc7a7c3581960ca6afae575f6c691e'/>
<id>urn:sha1:6b02597ed3dc7a7c3581960ca6afae575f6c691e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std::vec: Add UB check in `from_parts_in`</title>
<updated>2025-07-13T08:18:56+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-07-13T08:18:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48caa5f8897263da935ebdc2bbec8a95b5d3d025'/>
<id>urn:sha1:48caa5f8897263da935ebdc2bbec8a95b5d3d025</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>std::vec: Add UB check in `from_raw_parts_in`</title>
<updated>2025-07-13T08:17:43+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-07-13T08:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=090c177003272da7d2d3b04702f35261d3952b72'/>
<id>urn:sha1:090c177003272da7d2d3b04702f35261d3952b72</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>`std::vec`: Upgrade `debug_assert` to UB check in `set_len`</title>
<updated>2025-07-13T08:06:53+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-07-13T08:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1cab09ed9c582e7804bd0f9a6ead61129bb537d5'/>
<id>urn:sha1:1cab09ed9c582e7804bd0f9a6ead61129bb537d5</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>Fix typo in `std::vec`</title>
<updated>2025-07-13T07:51:32+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-07-13T07:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10866f46172e92a7949dca2e5a52b8c444a5b082'/>
<id>urn:sha1:10866f46172e92a7949dca2e5a52b8c444a5b082</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
</feed>
