pay-respects/rules/cargo.toml

21 lines
377 B
TOML
Raw Normal View History

2023-08-12 23:39:49 +02:00
command = "cargo"
[[match_err]]
pattern = [
2024-11-19 03:18:54 +01:00
"no such command"
2023-08-12 23:39:49 +02:00
]
suggest = [
'''
2024-11-19 03:18:54 +01:00
#[err_contains(did you mean)]
2024-11-20 21:01:37 +01:00
{{command[0]}} {{err::(?:did you mean `)(.*)(?:`\?)}} {{command[2:]}} '''
2023-08-12 23:39:49 +02:00
]
2025-04-10 17:08:29 +02:00
[[match_err]]
pattern = [
"using `cargo install` to install the binaries from the package in current working directory is no longer supported",
]
suggest = [
'''
{{command}} --path .'''
]