Subject: bug#52312: 29.0.50; [Feature Reqeust] flymake or byte-compile warning for passing wrong arg to declare-function

From: Glenn Morris <[email-masked]>
Date: Sun, 05 Dec 2021 13:28:51 -0500

It's flagged by check-declare.
If you don't use check-declare, then it doesn't matter what you write in
the declare-function statement.