jj/cli/examples/custom-commit-templater
Yuya Nishihara 4a9fcb0d15 templater: inline expect_<construct>_with() parsing helpers
There aren't many callers, and it was inconsistent that some callers didn't
attach alias traces to diagnostic messages.

The stripped-down expect_<construct>() functions also attempt to unwrap aliases
for consistency reasons. This is redundant, but should be cheap. If there were
callers who don't need to reinterpret a string literal, they wouldn't have to
use catch_aliases() block at their call sites.
2025-06-30 13:54:57 +00:00
..
main.rs templater: inline expect_<construct>_with() parsing helpers 2025-06-30 13:54:57 +00:00