~mgmarlow/public-inbox

3 2

[PATCH] fix regex for nighly clippy

Details
Message ID
<m2jztkmz4b.fsf@m2p.lan>
DKIM signature
missing
Download raw message
Looks like in nightly clippy (0.1.73 (180dffba 2023-08-14)) error 
messages format were changed.
Details
Message ID
<89996142-4719-4711-9744-9e0dbc398c31@mgmarlow.com>
In-Reply-To
<m2jztkmz4b.fsf@m2p.lan> (view parent)
DKIM signature
missing
Download raw message
On 8/24/23 4:25 AM, Eugeny Volobuev wrote:
> 
> Looks like in nightly clippy (0.1.73 (180dffba 2023-08-14)) error 
> messages format were changed.

Good catch and thanks for the patch. It looks like that's the error 
number associated with the lint, though it appears optional in some 
circumstances:

error: expected one of `!` or `::`, found ...
   --> src/main.rs:20:9

...

error[E0407]: method `build_string` is not ...
    --> src/features.rs:106:5

Can you update your patch to optionally select the braces and the 
alphanumeric error code inside?
Details
Message ID
<m2fs47mnk7.fsf@m2p.lan>
In-Reply-To
<89996142-4719-4711-9744-9e0dbc398c31@mgmarlow.com> (view parent)
DKIM signature
missing
Download raw message
Yep sure. Attached patch should be fine.
Details
Message ID
<f699e7b2-2ea6-4fce-88b3-6a996f1c8b2f@mgmarlow.com>
In-Reply-To
<m2fs47mnk7.fsf@m2p.lan> (view parent)
DKIM signature
missing
Download raw message
Great, thanks! I've applied your patch: 
https://git.sr.ht/~mgmarlow/flymake-clippy/commit/d0774403fe96d88bd629d0825ffca46a1786d697.

I also bumped the version to 1.0.1 so it should be available the next 
time MELPA scrapes the repo.
Reply to thread Export thread (mbox)