Skip to content

Commit

Permalink
Format TraceInfo string
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Sep 15, 2024
1 parent 60f0397 commit 3a0a1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/verifier/src/error/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ mod test {

assert_eq!(
"argument type inconsistent with instruction, i8
trace_info
trace_info:
0: i8
1: 0.i8
2: v2.i32 = add 28.i32 0.i8;
Expand Down
2 changes: 1 addition & 1 deletion crates/verifier/src/error/trace_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl<'a, 'b> fmt::Display for DisplayTraceInfo<'a, 'b> {

let dfg = &func.dfg;

"trace_info".fmt(f)?;
"trace_info:".fmt(f)?;

let mut line = 0;

Expand Down

0 comments on commit 3a0a1a8

Please sign in to comment.