To reproduce, have emacs built with native compilation and notice the compilation logs. You can then open the offending file and run M-x emacs-lisp-native-compile-and-load before and after the changes to see the warning is removed.
request.el:817:25: Warning: ‘point’ is an obsolete generalized variable; use
‘goto-char’ instead.
request.el:822:25: Warning: ‘point’ is an obsolete generalized variable; use
‘goto-char’ instead.
To reproduce, have emacs built with native compilation and notice the compilation logs. You can then open the offending file and run
M-x emacs-lisp-native-compile-and-load
before and after the changes to see the warning is removed.