gccrs: Add an explicit value to proc macro enum kind

We'll need this value in the final binary, it should therefore be kept
explicit.

libgrust/ChangeLog:

	* libproc_macro_internal/proc_macro.h (enum ProcmacroTag): Add
	explicit value for proc macro tag enum.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
This commit is contained in:
Pierre-Emmanuel Patry 2023-09-27 16:21:25 +02:00 committed by Arthur Cohen
parent 9e30e140be
commit 10699fb34a

View File

@ -66,7 +66,7 @@ struct Bang
enum ProcmacroTag
{
CUSTOM_DERIVE,
CUSTOM_DERIVE = 0,
ATTR,
BANG,
};