diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-12-15 16:52:55 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 16:52:55 +1100 |
commit | 63a821b78b5a293c0eb5b3ecc18d67bde8331eda (patch) | |
tree | 4229af0ba8b9f56467f1355b0c53054b69039edf /core | |
parent | b6d5ae1ecd125ce8a14cddc877cb66dbcfc9bb04 (diff) |
fix(cli): make dynamic import errors catchable (#8750)
Fixes #6259
Diffstat (limited to 'core')
-rw-r--r-- | core/modules.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules.rs b/core/modules.rs index 6f330f559..546f2464f 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -43,7 +43,7 @@ pub type ModuleLoadId = i32; // that happened; not only first and final target. It would simplify a lot // of things throughout the codebase otherwise we may end up requesting // intermediate redirects from file loader. -#[derive(Debug, Eq, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub struct ModuleSource { pub code: String, pub module_url_specified: String, |