mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
fix imports
This commit is contained in:
parent
a3b3f5e970
commit
48368f4fba
2 changed files with 3 additions and 5 deletions
|
@ -2387,7 +2387,7 @@ pub fn ext_var_is_empty_record(subs: &Subs, ext_var: Variable) -> bool {
|
|||
}
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
fn ext_var_is_empty_record(_subs: &Subs, _ext_var: Variable) -> bool {
|
||||
pub fn ext_var_is_empty_record(_subs: &Subs, _ext_var: Variable) -> bool {
|
||||
// This should only ever be used in debug_assert! macros
|
||||
unreachable!();
|
||||
}
|
||||
|
@ -2403,7 +2403,7 @@ pub fn ext_var_is_empty_tag_union(subs: &Subs, ext_var: Variable) -> bool {
|
|||
}
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
fn ext_var_is_empty_tag_union(_: &Subs, _: Variable) -> bool {
|
||||
pub fn ext_var_is_empty_tag_union(_: &Subs, _: Variable) -> bool {
|
||||
// This should only ever be used in debug_assert! macros
|
||||
unreachable!();
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
use crate::layout::{ext_var_is_empty_record, ext_var_is_empty_tag_union};
|
||||
use roc_builtins::bitcode::{FloatWidth, IntWidth};
|
||||
use roc_collections::all::MutMap;
|
||||
use roc_module::ident::TagName;
|
||||
|
@ -6,9 +7,6 @@ use roc_types::subs::{Content, FlatType, Subs, Variable};
|
|||
use roc_types::types::RecordField;
|
||||
use std::collections::hash_map::Entry;
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
use crate::layout::{ext_var_is_empty_record, ext_var_is_empty_tag_union};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub struct Index<T> {
|
||||
index: u32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue