From d9b7a3d0f4ebb0c4874ef8f680c875f5e19a0923 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Thu, 17 Aug 2023 14:07:27 +0200 Subject: [PATCH] gccrs: ctx: Add Labels ForeverStack to the resolver. Not sure if dealing with "labels" is the proper way of doing so, so we might eventually change this to use `resolver.values` later on. gcc/rust/ChangeLog: * resolve/rust-name-resolution-context.h: Add a Labels stack. --- gcc/rust/resolve/rust-name-resolution-context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/rust/resolve/rust-name-resolution-context.h b/gcc/rust/resolve/rust-name-resolution-context.h index 64db5d1a5806..6d14be35986a 100644 --- a/gcc/rust/resolve/rust-name-resolution-context.h +++ b/gcc/rust/resolve/rust-name-resolution-context.h @@ -173,6 +173,7 @@ public: ForeverStack values; ForeverStack types; ForeverStack macros; + ForeverStack labels; }; } // namespace Resolver2_0 -- 2.47.2