mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove unused imports
This commit is contained in:
parent
972046445b
commit
039bab65f5
4 changed files with 3 additions and 9 deletions
|
@ -15,8 +15,7 @@ use roc_mono::ir::{
|
||||||
Literal, ModifyRc, OptLevel, Proc, ProcLayout, SingleEntryPoint, Stmt,
|
Literal, ModifyRc, OptLevel, Proc, ProcLayout, SingleEntryPoint, Stmt,
|
||||||
};
|
};
|
||||||
use roc_mono::layout::{
|
use roc_mono::layout::{
|
||||||
Builtin, CapturesNiche, FieldOrderHash, Layout, Niche, RawFunctionLayout, STLayoutInterner,
|
Builtin, FieldOrderHash, Layout, Niche, RawFunctionLayout, STLayoutInterner, UnionLayout,
|
||||||
UnionLayout,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// just using one module for now
|
// just using one module for now
|
||||||
|
|
|
@ -35,9 +35,7 @@ use roc_mono::ir::{
|
||||||
CapturedSymbols, ExternalSpecializations, PartialProc, Proc, ProcLayout, Procs, ProcsBase,
|
CapturedSymbols, ExternalSpecializations, PartialProc, Proc, ProcLayout, Procs, ProcsBase,
|
||||||
UpdateModeIds,
|
UpdateModeIds,
|
||||||
};
|
};
|
||||||
use roc_mono::layout::{
|
use roc_mono::layout::{LambdaName, Layout, LayoutCache, LayoutProblem, Niche, STLayoutInterner};
|
||||||
CapturesNiche, LambdaName, Layout, LayoutCache, LayoutProblem, Niche, STLayoutInterner,
|
|
||||||
};
|
|
||||||
use roc_packaging::cache::{self, RocCacheDir};
|
use roc_packaging::cache::{self, RocCacheDir};
|
||||||
#[cfg(not(target_family = "wasm"))]
|
#[cfg(not(target_family = "wasm"))]
|
||||||
use roc_packaging::https::PackageMetadata;
|
use roc_packaging::https::PackageMetadata;
|
||||||
|
|
|
@ -9,9 +9,7 @@ use crate::ir::{
|
||||||
Call, CallSpecId, CallType, Expr, HostExposedLayouts, JoinPointId, ModifyRc, Proc, ProcLayout,
|
Call, CallSpecId, CallType, Expr, HostExposedLayouts, JoinPointId, ModifyRc, Proc, ProcLayout,
|
||||||
SelfRecursive, Stmt, UpdateModeId,
|
SelfRecursive, Stmt, UpdateModeId,
|
||||||
};
|
};
|
||||||
use crate::layout::{
|
use crate::layout::{Builtin, LambdaName, Layout, Niche, STLayoutInterner, UnionLayout};
|
||||||
Builtin, CapturesNiche, LambdaName, Layout, Niche, STLayoutInterner, UnionLayout,
|
|
||||||
};
|
|
||||||
|
|
||||||
mod equality;
|
mod equality;
|
||||||
mod refcount;
|
mod refcount;
|
||||||
|
|
|
@ -1418,7 +1418,6 @@ impl<'a> LambdaSet<'a> {
|
||||||
|
|
||||||
let captures = match lambda_name.niche {
|
let captures = match lambda_name.niche {
|
||||||
Niche::Captures(captures) => captures.0,
|
Niche::Captures(captures) => captures.0,
|
||||||
Niche::NONE => &[],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let comparator = |other_name: Symbol, other_captures_layouts: &[InLayout]| {
|
let comparator = |other_name: Symbol, other_captures_layouts: &[InLayout]| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue