x/tools/cmd/gorename: allow renaming to builtins #22855
What did you do?
While trying to rename a variable (func, etc..) to
Suppose you have a
And you run
What did you expect to see?
What did you see instead?
In contrast to renaming to builtins which cause crashes, renaming to keywords is handled gracefully: