Repository navigation
The seed-bound ceremony rewrites, now that the seed is past D197 and D111 (#3073) - #3082
Merged
Merged
Conversation
…D111 (#3073) `with fix-ceremony --apply --check-with src/main src/main.w` under nightly-20261110-local-1: the 242 rewrites the previous seed refused (165 `.clone()` on a str, 69 `(k as u32)` shift counts, 4 `: str` annotations, 2 `Some`) and the loops they unblocked, 330 rewrites in 31 files; the new seed checks the result and nothing is kept as written. Census: clone-call 37 -> 31, index-loop 1042 -> 1004 in the changed files. The 807 `len() as i32` stay: dropping one trades the cast for D183's "narrows with a range check" lint, which asks for the declaration to widen; that is a separate decision on the lint, recorded on the issue.
… one proxy per body, and the validator says so `return g` of a global str lowered to `_0 = move _1` and reset-on-move blanked the global: tail_local_moves_out turned the proxy's copy into a move without the local_is_global check its block-tail twin has. A global first touched inside a block was bound in that block's scope, so the later tail made a second proxy and moved it. The proxy is now remembered for the body (bind_global_proxy, lookup_local's fallback), and the ownership validator refuses a `move` rooted in a global local, which it let through here. Found by the seed-bound sweep: the `.clone()` it removed in build_cache_current_compiler_fingerprint was guarding this (four build-store fixtures). Fixture behav_3086_global_str_return_copies.
ehartford
force-pushed
the
seed-bound-sweep
branch
from
November 8, 2026 10:24
78bad83 to
8cd5e4f
Compare
ehartford
marked this pull request as ready for review
November 8, 2026 10:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Under the new seed,
with fix-ceremony --apply --check-with src/main src/main.wapplies the 242 rewrites the previous seed refused (165.clone()on a str, 69(k as u32)shift counts, 4: strannotations, 2Some) plus the loops they unblocked: 330 rewrites in 31 files, nothing kept as written, the seed checks the result. Census: clone-call 37 → 31, index-loop 1042 → 1004 in the changed files. The 807len() as i32stay for a separate decision: removing one trades the cast for D183's range-check lint, which asks the i32 declaration to widen; the question is recorded on #3073.