<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/test/src/test_result.rs, 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-04-28T19:40:29+00:00</updated>
<entry>
<title>Remove backticks from `ShouldPanic::YesWithMessage`'s `TrFailedMsg`</title>
<updated>2025-04-28T19:40:29+00:00</updated>
<author>
<name>Lieselotte</name>
<email>52315535+she3py@users.noreply.github.com</email>
</author>
<published>2025-04-28T19:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=55a419f444378afb5eceb361959fa57eefce2be1'/>
<id>urn:sha1:55a419f444378afb5eceb361959fa57eefce2be1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Report span of test when should_panic test failed</title>
<updated>2025-04-14T02:36:11+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-03-17T14:22:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c73598f0fb0ef2cfcdc784e577a96bb8041445ba'/>
<id>urn:sha1:c73598f0fb0ef2cfcdc784e577a96bb8041445ba</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>libtest: Pass the test's panic payload as Option instead of Result</title>
<updated>2025-04-08T03:28:05+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-04-08T03:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44d1d86124e7229a59a13899a14e468fee9dc923'/>
<id>urn:sha1:44d1d86124e7229a59a13899a14e468fee9dc923</id>
<content type='text'>
Passing a `Result&lt;(), &amp;dyn Any&gt;` to `calc_result` requires awkward code at both
call sites, for no real benefit. It's much easier to just pass the payload as
`Option&lt;&amp;dyn Any&gt;`.

No functional change, except that the owned payload is dropped slightly later.
</content>
</entry>
<entry>
<title>test: add `#![warn(unreachable_pub)]`</title>
<updated>2025-01-20T17:46:29+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-01-09T21:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=939b7047a0495e461efa57fed828fedd06b1cdb4'/>
<id>urn:sha1:939b7047a0495e461efa57fed828fedd06b1cdb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change a few `&amp;Option&lt;T&gt;` into `Option&lt;&amp;T&gt;`</title>
<updated>2024-10-09T03:26:29+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2024-09-28T05:46:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2d1edfea5689ac638904080ddb972c40e7acc8c'/>
<id>urn:sha1:f2d1edfea5689ac638904080ddb972c40e7acc8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Update name of Windows abort constant to match platform documentation</title>
<updated>2024-07-15T22:21:41+00:00</updated>
<author>
<name>Charles Celerier</name>
<email>chcl@google.com</email>
</author>
<published>2024-07-10T03:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=deb8ebb39b1fa8ab1436bf224df434273a6c58c6'/>
<id>urn:sha1:deb8ebb39b1fa8ab1436bf224df434273a6c58c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add match arm for Fuchsia status code upon an abort in a test</title>
<updated>2024-07-15T22:21:41+00:00</updated>
<author>
<name>Charles Celerier</name>
<email>chcl@google.com</email>
</author>
<published>2024-07-10T03:22:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1aad89d11ca9e52fa0442c75bb3d9dee9635cbb7'/>
<id>urn:sha1:1aad89d11ca9e52fa0442c75bb3d9dee9635cbb7</id>
<content type='text'>
This change adds ZX_TASK_RETCODE_EXCEPTION_KILL as an expected status
code upon an abort in a test on Fuchsia. Tests

fixes #127539
</content>
</entry>
<entry>
<title>Actually abort in panic-abort-tests</title>
<updated>2024-01-31T02:19:49+00:00</updated>
<author>
<name>Tyler Mandry</name>
<email>tmandry@google.com</email>
</author>
<published>2024-01-24T23:57:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f622e832d41171578b6987d0b25b3a84d6d1c81c'/>
<id>urn:sha1:f622e832d41171578b6987d0b25b3a84d6d1c81c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a few clippy lints in libtest</title>
<updated>2023-01-03T18:55:03+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>github@jyn.dev</email>
</author>
<published>2023-01-03T04:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3534e0a393b447791fffaa84a97114dd3c761890'/>
<id>urn:sha1:3534e0a393b447791fffaa84a97114dd3c761890</id>
<content type='text'>
- Remove unnecessary references and dereferences
- Use `.contains` instead of `a &lt;= x &amp;&amp; x &lt;= b`
- Use `mem::take` instead of `mem::replace` where possible
</content>
</entry>
</feed>
