Skip to content

proc-macros: simplistic regression test for cd960361#9126

Open
ilyagr wants to merge 1 commit intomainfrom
ig/digest-test
Open

proc-macros: simplistic regression test for cd960361#9126
ilyagr wants to merge 1 commit intomainfrom
ig/digest-test

Conversation

@ilyagr
Copy link
Contributor

@ilyagr ilyagr commented Mar 16, 2026

String-based check that people don't use digest:: inside the proc-macros crate, so that other crates using jj-lib can use #[derive(ContentHash)].

Follows up on cd96036.


Example failure: https://github.com/jj-vcs/jj/actions/runs/23173922046/job/67331847132?pr=9126

Cc @emesterhazy since I cc-ed the previous pr to you, but no worries if you're doing other things.

Checklist

If applicable:

  • n/a I have updated CHANGELOG.md
  • n/a I have updated the documentation (README.md, docs/, demos/)
  • n/a I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes
  • I fully understand the code that I am submitting (what it does,
    how it works, how it's organized), including any code drafted by an LLM.
  • For any prose generated by an LLM, I have proof-read and copy-edited with
    an eye towards deleting anything that is irrelevant, clarifying anything
    that is confusing, and adding details that are relevant. This includes,
    for example, commit descriptions, PR descriptions, and code comments.

github-actions[bot]

This comment was marked as off-topic.

@ilyagr ilyagr force-pushed the ig/digest-test branch 2 times, most recently from ea24bb8 to 87c1c93 Compare March 17, 2026 00:48
String-based check that people don't use `digest::` inside
the proc-macros crate, so that other crates using jj-lib
can use `#[derive(ContentHash)]`.
@github-actions github-actions bot dismissed their stale review March 17, 2026 01:22

All commits are now correctly formatted. Thank you for your contribution!

@ilyagr ilyagr marked this pull request as ready for review March 17, 2026 03:20
@ilyagr ilyagr requested a review from a team as a code owner March 17, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant