<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-error/src/internal.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-10T14:03:16Z</updated>
<entry>
<title>tor-error: Fix clippy warnings</title>
<updated>2026-07-10T14:03:16Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2026-07-10T13:56:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b81cdc3362464564369554ad95f2e6d1b602837b'/>
<id>urn:sha1:b81cdc3362464564369554ad95f2e6d1b602837b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Fix grammar typos</title>
<updated>2026-03-15T20:19:00Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-15T20:06:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=53e76b87646bc96da316fe699c2226662cce4bf2'/>
<id>urn:sha1:53e76b87646bc96da316fe699c2226662cce4bf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix word duplicate typos</title>
<updated>2026-03-15T20:18:56Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-15T20:05:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2173207d8b909d1afdc55adda13faac13cdded0f'/>
<id>urn:sha1:2173207d8b909d1afdc55adda13faac13cdded0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-error: Provide new `bug_context` method on Bug and Result&lt;_, Bug&gt;</title>
<updated>2025-12-01T15:21:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-01T10:14:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=99c79ccb73f69a245e8bbbed94b763b8777d4826'/>
<id>urn:sha1:99c79ccb73f69a245e8bbbed94b763b8777d4826</id>
<content type='text'>
This allows call sites which have a `Bug` to add additional context,
beyond just the stack trace.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-error: use `Display` for backtrace captured by `BugRepr`</title>
<updated>2024-10-29T14:06:49Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-29T01:59:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c91d067d395ed9a1e2385fcaf9c15dbb578a575f'/>
<id>urn:sha1:c91d067d395ed9a1e2385fcaf9c15dbb578a575f</id>
<content type='text'>
Before:

```text
2024-10-29T01:57:31Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo
Backtrace [{ fn: "tor_error::internal::ie_backtrace::capture", file: "./crates/tor-error/src/internal.rs", line: 21 }, { fn: "tor_error::internal::Bug::new_inner", file: "./crates/tor-error/src/internal.rs", line: 105 }, { fn: "tor_error::internal::Bug::new", file: "./crates/tor-error/src/internal.rs", line: 94 }, { fn: "arti::main_main", file: "./crates/arti/src/lib.rs", line: 378 }, ...
```

After:

```text
2024-10-29T01:58:23Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo
   0: tor_error::internal::ie_backtrace::capture
             at ./crates/tor-error/src/internal.rs:21:27
   1: tor_error::internal::Bug::new_inner
             at ./crates/tor-error/src/internal.rs:105:24
   2: tor_error::internal::Bug::new
             at ./crates/tor-error/src/internal.rs:94:9
   3: arti::main_main
             at ./crates/arti/src/lib.rs:378:27
   ...
```
</content>
</entry>
<entry>
<title>tor-error: Disable backtraces under miri, even if cargo feature enabled</title>
<updated>2024-10-08T15:53:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-07T11:45:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=856b65f24b31e9500d7ef5a84e168b423e06d862'/>
<id>urn:sha1:856b65f24b31e9500d7ef5a84e168b423e06d862</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use std::backtrace instead of backtrace crate</title>
<updated>2024-08-01T12:18:40Z</updated>
<author>
<name>Robin Leander Schröder</name>
<email>1473-rls@gitlab.torproject.org</email>
</author>
<published>2024-08-01T12:07:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f31e6b650f004ccf88446e8b2a39f1381995c09'/>
<id>urn:sha1:9f31e6b650f004ccf88446e8b2a39f1381995c09</id>
<content type='text'>
Removes resolve_backtraces from rtmock since it is no longer needed as
stdlib's backtraces automatically lazily resolve without needing a &amp;mut.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
</feed>
