Skip to content

Refresh nightly trybuild UI snapshots to unblock Coverage workflow - #43

Draft
AS1100K with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-coverage-job
Draft

AS1100K with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-coverage-job

Conversation

Copilot AI commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The Coverage GitHub Actions job was failing in pastey-test-suite UI compile-fail tests due to nightly rustc diagnostic output drift, not macro behavior regressions. This updates expected snapshots so CI compares against current compiler output.

  • What changed

    • Updated 8 trybuild snapshot files under pastey-test-suite/tests/ui/*.stderr to match current nightly diagnostics.
    • Changes are snapshot-only (line context/note formatting differences), with no runtime or macro logic modifications.
  • Affected snapshots

    • case-warning.stderr
    • extra-token-in-replace.stderr
    • invalid-replace-format.stderr
    • invalid-replace.stderr
    • multi-token-replace-arg.stderr
    • nested-group-single-token.stderr
    • no-value-before-replace.stderr
    • raw-mode-wrong-position.stderr
  • Representative diff shape

      error: expected `)`
        --> tests/ui/extra-token-in-replace.rs:6:45
         |
    + 3 | macro_rules! m {
    +...
        6 |             struct [< $name:replace("a", "b", "c") >];
         |                                             ^
    ...
       11 | m!(Pastey);
         | ---------- in this macro invocation
    -    = note: this error originates in the macro `m` (...)

Co-authored-by: AS1100K <117935160+AS1100K@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Coverage Refresh nightly trybuild UI snapshots to unblock Coverage workflow Sep 29, 2026
Copilot AI requested a review from AS1100K September 29, 2026 16:59
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.

2 participants