diff --git a/compiler/can/src/annotation.rs b/compiler/can/src/annotation.rs index 1d83835d38..47f11353cf 100644 --- a/compiler/can/src/annotation.rs +++ b/compiler/can/src/annotation.rs @@ -1,6 +1,6 @@ use crate::env::Env; use crate::scope::Scope; -use roc_collections::{ImMap, MutMap, MutSet, SendMap, VecMap, VecSet}; +use roc_collections::{ImMap, MutSet, SendMap, VecMap, VecSet}; use roc_module::ident::{Ident, Lowercase, TagName}; use roc_module::symbol::{IdentIds, ModuleId, Symbol}; use roc_parse::ast::{AssignedField, ExtractSpaces, Pattern, Tag, TypeAnnotation, TypeHeader}; diff --git a/compiler/can/src/def.rs b/compiler/can/src/def.rs index 2b99f698d7..9235cd32ca 100644 --- a/compiler/can/src/def.rs +++ b/compiler/can/src/def.rs @@ -97,6 +97,7 @@ enum PendingTypeDef<'a> { /// An invalid alias, that is ignored in the rest of the pipeline /// e.g. a shadowed alias, or a definition like `MyAlias 1 : Int` /// with an incorrect pattern + #[allow(dead_code)] InvalidAlias { kind: AliasKind }, /// An invalid ability, that is ignored in the rest of the pipeline. diff --git a/compiler/load_internal/src/file.rs b/compiler/load_internal/src/file.rs index f8f60cfe4c..cdab508046 100644 --- a/compiler/load_internal/src/file.rs +++ b/compiler/load_internal/src/file.rs @@ -1110,7 +1110,7 @@ pub fn load<'a>( ) -> Result, LoadingProblem<'a>> { // When compiling to wasm, we cannot spawn extra threads // so we have a single-threaded implementation - if true || cfg!(target_family = "wasm") { + if cfg!(target_family = "wasm") { load_single_threaded( arena, load_start,