Fix some warnings in gen dev tests

This commit is contained in:
Richard Feldman 2022-07-09 19:23:36 -04:00
parent 081b1d2612
commit 86ee6b0e03
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
4 changed files with 7 additions and 7 deletions

View file

@ -1,13 +1,10 @@
#[cfg(feature = "gen-llvm")] #[cfg(feature = "gen-llvm")]
use crate::helpers::llvm::assert_evals_to; use crate::helpers::llvm::assert_evals_to;
#[cfg(feature = "gen-dev")]
use crate::helpers::dev::assert_evals_to;
#[cfg(feature = "gen-wasm")] #[cfg(feature = "gen-wasm")]
use crate::helpers::wasm::assert_evals_to; use crate::helpers::wasm::assert_evals_to;
#[cfg(test)] #[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))]
use indoc::indoc; use indoc::indoc;
#[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))] #[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))]

View file

@ -10,7 +10,7 @@ use crate::helpers::wasm::{assert_evals_to, expect_runtime_error_panic};
// use crate::assert_wasm_evals_to as assert_evals_to; // use crate::assert_wasm_evals_to as assert_evals_to;
use indoc::indoc; use indoc::indoc;
#[cfg(test)] #[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))]
use roc_std::{RocList, RocStr}; use roc_std::{RocList, RocStr};
#[test] #[test]

View file

@ -9,7 +9,8 @@ use crate::helpers::wasm::assert_evals_to;
#[cfg(test)] #[cfg(test)]
use indoc::indoc; use indoc::indoc;
#[cfg(test)]
#[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))]
use roc_std::{RocList, RocStr}; use roc_std::{RocList, RocStr};
#[test] #[test]

View file

@ -1,11 +1,13 @@
use libloading::Library; use libloading::Library;
use roc_build::link::{link, LinkType}; use roc_build::link::{link, LinkType};
use roc_builtins::bitcode; use roc_builtins::bitcode;
use roc_collections::all::MutMap;
use roc_load::Threading; use roc_load::Threading;
use roc_region::all::LineInfo; use roc_region::all::LineInfo;
use tempfile::tempdir; use tempfile::tempdir;
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
use roc_collections::all::MutMap;
#[allow(unused_imports)] #[allow(unused_imports)]
use roc_mono::ir::pretty_print_ir_symbols; use roc_mono::ir::pretty_print_ir_symbols;