From 88dff68f2e1e98801fa2336da9da101357ad1dca Mon Sep 17 00:00:00 2001 From: iff Date: Thu, 10 Apr 2025 17:08:29 +0200 Subject: [PATCH] rules(cargo): install --- rules/cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rules/cargo.toml b/rules/cargo.toml index 1f1c61c..abe5eed 100644 --- a/rules/cargo.toml +++ b/rules/cargo.toml @@ -10,3 +10,11 @@ suggest = [ {{command[0]}} {{err::(?:did you mean `)(.*)(?:`\?)}} {{command[2:]}} ''' ] +[[match_err]] +pattern = [ +"using `cargo install` to install the binaries from the package in current working directory is no longer supported", +] +suggest = [ +''' +{{command}} --path .''' +]