<m2jztkmz4b.fsf@m2p.lan>
Looks like in nightly clippy (0.1.73 (180dffba 2023-08-14)) error messages format were changed.
<89996142-4719-4711-9744-9e0dbc398c31@mgmarlow.com>
<m2jztkmz4b.fsf@m2p.lan>
(view parent)
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?
<m2fs47mnk7.fsf@m2p.lan>
<89996142-4719-4711-9744-9e0dbc398c31@mgmarlow.com>
(view parent)
Yep sure. Attached patch should be fine.
<f699e7b2-2ea6-4fce-88b3-6a996f1c8b2f@mgmarlow.com>
<m2fs47mnk7.fsf@m2p.lan>
(view parent)
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.