<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/codegen/slice-indexing.rs, 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-22T12:28:48+00:00</updated>
<entry>
<title>Rename `tests/codegen` into `tests/codegen-llvm`</title>
<updated>2025-07-22T12:28:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-07-21T12:34:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a27f3e3fd1e4d16160f8885b6b06665b5319f56c'/>
<id>urn:sha1:a27f3e3fd1e4d16160f8885b6b06665b5319f56c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/codegen: use -Copt-level=3 instead of -O</title>
<updated>2025-02-11T21:41:35+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-02-09T03:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c0c9b6770f1ac0324be91580f52b6f45346e47b'/>
<id>urn:sha1:3c0c9b6770f1ac0324be91580f52b6f45346e47b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added codegen test for elidings bounds check when indexes are manually checked</title>
<updated>2024-12-29T14:02:40+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2024-12-29T14:02:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dab1c57723d4ab53b9279801f6a27db94bdec98a'/>
<id>urn:sha1:dab1c57723d4ab53b9279801f6a27db94bdec98a</id>
<content type='text'>
Closes #55147
</content>
</entry>
<entry>
<title>Use unchecked_sub in str indexing</title>
<updated>2024-04-06T18:09:03+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-04-06T15:33:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=712aab72df2a9c511e49a51974294d3d2712056e'/>
<id>urn:sha1:712aab72df2a9c511e49a51974294d3d2712056e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ignore less tests in debug builds</title>
<updated>2024-02-23T23:04:01+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-02-23T23:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f3c0b98593044c00492f4287e27ef9733121c97'/>
<id>urn:sha1:2f3c0b98593044c00492f4287e27ef9733121c97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives</title>
<updated>2024-02-22T16:04:04+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-02-22T12:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e48b96692d63a79a14563f27fe5185f122434f8'/>
<id>urn:sha1:6e48b96692d63a79a14563f27fe5185f122434f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `nuw` when calculating slice lengths from `Range`s</title>
<updated>2023-03-05T23:15:22+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-03-05T03:10:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3554036280525cec34103a8f66049b0881b14d27'/>
<id>urn:sha1:3554036280525cec34103a8f66049b0881b14d27</id>
<content type='text'>
An `assume` would definitely not be worth it, but since the flag is almost free we might as well tell LLVM this, especially on `_unchecked` calls where there's no obvious way for it to deduce it.

(Today neither safe nor unsafe indexing gets it: &lt;https://rust.godbolt.org/z/G1jYT548s&gt;)
</content>
</entry>
</feed>
