patch 8.2.4582: useless code handling a type declaration

Problem:    Useless code handling a type declaration.
Solution:   Remove the code and give an error.
diff --git a/src/errors.h b/src/errors.h
index b8e9419..7bc4b1d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3252,4 +3252,6 @@
 #ifdef FEAT_EVAL
 EXTERN char e_compiling_closure_without_context_str[]
 	INIT(= N_("E1271: compiling closure without context: %s"));
+EXTERN char e_using_type_not_in_script_context_str[]
+	INIT(= N_("E1272: Using type not in a script context: %s"));
 #endif