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?
The text was updated successfully, but these errors were encountered:
In contrast to renaming to builtins which cause crashes, renaming to keywords is handled gracefully: