mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Don't print subs on error
It's way too verbose and unhelpful!
This commit is contained in:
parent
c28dd8fd19
commit
b5ad6e17b4
4 changed files with 8 additions and 8 deletions
|
@ -221,8 +221,8 @@ pub fn gen(src: &str, target: Triple, opt_level: OptLevel) -> Result<(String, St
|
|||
// Compute main_fn_type before moving subs to Env
|
||||
let layout = Layout::new(&arena, content, &subs, ptr_bytes).unwrap_or_else(|err| {
|
||||
panic!(
|
||||
"Code gen error in test: could not convert to layout. Err was {:?} and Subs were {:?}",
|
||||
err, subs
|
||||
"Code gen error in test: could not convert to layout. Err was {:?}",
|
||||
err
|
||||
)
|
||||
});
|
||||
let execution_engine = module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue