Skip to content

Refresh codegen failure-test snapshots for Rust 1.96#1379

Merged
LegNeato merged 1 commit into
graphql-rust:masterfrom
LegNeato:refresh-codegen-stderr
Jun 7, 2026
Merged

Refresh codegen failure-test snapshots for Rust 1.96#1379
LegNeato merged 1 commit into
graphql-rust:masterfrom
LegNeato:refresh-codegen-stderr

Conversation

@LegNeato
Copy link
Copy Markdown
Member

@LegNeato LegNeato commented Jun 6, 2026

Rust 1.96 reworded several diagnostics, drifting 18 tests/codegen/fail/*.stderr snapshots — regenerated.

union/struct_same_type_ugly also emitted its two E0277 errors in nondeterministic order on 1.96 (flaky snapshot). Rewrote the fixture to alias a real GraphQLObject under two spellings (Test / self::Test), so it tests only the intended MutuallyExclusive conflict — a single, deterministic E0119. The non-object case stays covered by union/struct_non_object_variant.

Rust 1.96 reworded several diagnostics, drifting 18 `tests/codegen/fail/*.stderr`
snapshots; regenerate them.

`union/struct_same_type_ugly` additionally emitted its two `E0277` errors in
nondeterministic order on 1.96, making the snapshot flaky. Rewrite the fixture
to alias a real `GraphQLObject` type under two spellings (`Test` / `self::Test`)
so it exercises only the intended `MutuallyExclusive` conflict — a single,
deterministic `E0119`. The non-object case stays covered by
`union/struct_non_object_variant`.
@LegNeato LegNeato merged commit 9815a3f into graphql-rust:master Jun 7, 2026
181 checks passed
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