mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
improve formatting
This commit is contained in:
parent
e44a8a9eed
commit
1875176319
4 changed files with 27 additions and 37 deletions
|
@ -512,7 +512,7 @@ fn render_dbg_failure<'a>(
|
|||
ability_info: current.ability_info,
|
||||
};
|
||||
|
||||
let (symbols, variables) = split_expect_lookups(subs, &[current]);
|
||||
let (_symbols, variables) = split_expect_lookups(subs, &[current]);
|
||||
|
||||
let (offset, expressions) = crate::get_values(
|
||||
target_info,
|
||||
|
@ -525,15 +525,7 @@ fn render_dbg_failure<'a>(
|
|||
&variables,
|
||||
);
|
||||
|
||||
renderer.render_dbg(
|
||||
writer,
|
||||
subs,
|
||||
&symbols,
|
||||
&variables,
|
||||
&expressions,
|
||||
expect_region,
|
||||
failure_region,
|
||||
)?;
|
||||
renderer.render_dbg(writer, &expressions, expect_region, failure_region)?;
|
||||
|
||||
Ok(offset)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue