pay-respects/core/rules/cargo.toml

13 lines
189 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
]