From cf7a3df2c1cf0b0e1df53e127512f9fbde48476a Mon Sep 17 00:00:00 2001 From: Matt Paras Date: Sun, 3 Nov 2024 22:20:33 -0800 Subject: [PATCH] remove components from module loading error message --- crates/steel-core/src/compiler/modules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/steel-core/src/compiler/modules.rs b/crates/steel-core/src/compiler/modules.rs index 684ceefa2..39804321a 100644 --- a/crates/steel-core/src/compiler/modules.rs +++ b/crates/steel-core/src/compiler/modules.rs @@ -1828,7 +1828,7 @@ impl<'a> ModuleBuilder<'a> { let mut err = crate::SteelErr::from(err); err.prepend_message(&format!( "Attempting to load module from: {:?} ", - module.components().collect::>() + module )); err.set_span(require_statement_span) })?