Clean up some leftover references to the old :! syntax. (#7921)

This commit is contained in:
Richard Smith authored and GitHub committed 2026-10-07 23:07:01 +00:00
1 parent 059ee7b9ed
commit 72e425fe5c
6 files changed
+49 -49

No files matched your search

@@ -196,6 +196,9 @@ auto HandleBindingPattern(Context& context) -> void {
// the default would otherwise be generic) is reported by `check` as a
// misplaced `self` — the relevant error — rather than also producing a
// `ref`-on-generic error from that default.
//
// TODO: This is wrong: it rejects `fn F(template self: Self)` and treats
// `fn F(generic self: Self)` as being non-generic.
if (self_token) {
resolved_generic = false;
}