https://gcc.gnu.org/g:589d50bb4c054bae9d57a146f26851721c1ed840
commit 589d50bb4c054bae9d57a146f26851721c1ed840 Author: Arthur Cohen <arthur.co...@embecosm.com> Date: Thu Aug 17 14:07:27 2023 +0200 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. Diff: --- 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<Namespace::Values> values; ForeverStack<Namespace::Types> types; ForeverStack<Namespace::Macros> macros; + ForeverStack<Namespace::Labels> labels; }; } // namespace Resolver2_0