<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/error.rs, branch arti-v1.8.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-10-09T11:45:54Z</updated>
<entry>
<title>tor-netdoc: parse2: Work around MSRV unhelpful lifetime</title>
<updated>2025-10-09T11:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T17:18:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f54a1d96a25bd16c9026d00d769af1f0bf8cac8d'/>
<id>urn:sha1:f54a1d96a25bd16c9026d00d769af1f0bf8cac8d</id>
<content type='text'>
1.85.1 rejects this, because it doesn't extend the lifetime of the
`format_args!`.  1.90 is fine with it.

I want to keep `format!` not `String::new()` so that it's easy to
change back.  That means a clippy allow.  Getting that to apply to the
code inside the derive is tricky, so I've enabled it for the whole
module.  (IMO this clippy lint is pretty annoying anyway.)
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Add column field to PaarsError and print it</title>
<updated>2025-10-09T11:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T13:50:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b3e8b5e219a3656390cb63f87197c96040e676'/>
<id>urn:sha1:77b3e8b5e219a3656390cb63f87197c96040e676</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Add .column() accessor to ErrorProblem</title>
<updated>2025-10-09T11:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T13:01:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cbbe99e06e9ed8e1122dd1e29e167dd5fc6687f9'/>
<id>urn:sha1:cbbe99e06e9ed8e1122dd1e29e167dd5fc6687f9</id>
<content type='text'>
We'll want to general way to find the error problem column.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Add column field as far as ErrorProblem</title>
<updated>2025-10-09T11:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T14:07:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a71d58d28809d20bfc9b595ffa305c1ad884f92'/>
<id>urn:sha1:2a71d58d28809d20bfc9b595ffa305c1ad884f92</id>
<content type='text'>
Provide facilities in ArgumnetStream for determining the column, and
add the field to all the error types up to and including ErrorProblem.

The value still needs to be propagated to ParseError, and printed there.
</content>
</entry>
<entry>
<title>tor-netdoc: Introduce ArgumentError</title>
<updated>2025-10-09T11:45:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T11:23:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dfbda9d3033593d2670f354b65bd1a722fb2d580'/>
<id>urn:sha1:dfbda9d3033593d2670f354b65bd1a722fb2d580</id>
<content type='text'>
This will allow us to (1) move field name handling out of the argument
parser method, and also (2) add columns more easily.
</content>
</entry>
<entry>
<title>tor-netdoc: Have .reject_extra_args return a bespoke error</title>
<updated>2025-10-09T11:45:12Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T11:30:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=afddda060daae551c70232df7b5495b9f0482c62'/>
<id>urn:sha1:afddda060daae551c70232df7b5495b9f0482c62</id>
<content type='text'>
We're about to have some functions return ArgumentError and some
ErrorProblem.  We don't want to provide a conversion directly between
these types, so instead introduce a new type that will be convertible
to either.
</content>
</entry>
<entry>
<title>netdoc parse2: Don't duplicate the error source</title>
<updated>2025-09-29T12:58:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-09-03T17:06:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6725974a03082b52b8cd939c843dc2b4a2ce04ef'/>
<id>urn:sha1:6725974a03082b52b8cd939c843dc2b4a2ce04ef</id>
<content type='text'>
`problem` is the `#[source]`.
</content>
</entry>
<entry>
<title>netdoc parse2: Fix invalid keyword error problem report</title>
<updated>2025-09-29T12:58:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-09-03T14:50:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ae712084aaa74ca5b2a138804d41874df1b2e206'/>
<id>urn:sha1:ae712084aaa74ca5b2a138804d41874df1b2e206</id>
<content type='text'>
`#[from]` is not `#[source]`.  We need to print the inner error.
</content>
</entry>
<entry>
<title>tor-netdoc: Introduce parse2, new parser</title>
<updated>2025-08-14T10:54:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-08-06T13:13:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=59d30b6e775721b78cf81731ff81280fd187c16c'/>
<id>urn:sha1:59d30b6e775721b78cf81731ff81280fd187c16c</id>
<content type='text'>
This isn't used anywhere yet.  We're going to demonstrate it, and test
the demo, in a moment.
</content>
</entry>
</feed>
