Repository navigation
Every contract-refusal fixture that prints a help line checks it (#3129) - #3533
Merged
Merged
Conversation
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.
Closes #3129.
The issue's done condition: every facade diagnostic carries a help line with an accepted spelling, and a fixture per diagnostic checks the help text.
emit_error(msg)sites pass through a message built elsewhere with its help.err_c_facade_*fixtures now check the help line they print, so 218 of 242 do.unsaferequired for a raw call, a view outliving its origin, a non-Sendcapture, an unknown method on a borrowed return, a type mismatch.bad_item,bad_domain_kind,buffer_capacity_no_inout,retains_without_by,variadic_callback_pair_missing), for example: "retention is written 'retains param by param '".Two local branches of older fixtures were found stranded and checked: everything in them is on main except two fixtures asserting behaviour that has since changed, so they were dropped.
Test-only change. Battery green;
:release-checksgreen.