pay-respects/rules/cargo.toml
2025-04-10 18:08:20 +02:00

20 lines
377 B
TOML

command = "cargo"
[[match_err]]
pattern = [
"no such command"
]
suggest = [
'''
#[err_contains(did you mean)]
{{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 .'''
]