From e598c1c6fd1ace76c71e8efa026c3837bf32169c Mon Sep 17 00:00:00 2001 From: Marcos Henrich Date: Thu, 9 Jan 2025 17:17:04 +0000 Subject: [PATCH] Added comment. --- .../src/semantic_analysis/ast_node/declaration/auto_impl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sway-core/src/semantic_analysis/ast_node/declaration/auto_impl.rs b/sway-core/src/semantic_analysis/ast_node/declaration/auto_impl.rs index 05eff52ec92..e8c25db6d1c 100644 --- a/sway-core/src/semantic_analysis/ast_node/declaration/auto_impl.rs +++ b/sway-core/src/semantic_analysis/ast_node/declaration/auto_impl.rs @@ -409,6 +409,7 @@ where unreachable!(); }; + // Insert trait implementation generated in the previous scope into the current scope. ctx.insert_trait_implementation( &handler, impl_trait.trait_name.clone(),