Skip to content

Commit 0861ecf

Browse files
authored
[red-knot] Use 'full' salsa backtrace output that includes durability and revisions (#17735)
1 parent d1f359a commit 0861ecf

File tree

1 file changed

+1
-1
lines changed
  • crates/red_knot_test/src

1 file changed

+1
-1
lines changed

crates/red_knot_test/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ fn run_test(
346346

347347
if let Some(backtrace) = info.salsa_backtrace {
348348
salsa::attach(db, || {
349-
messages.extend(backtrace.to_string().split('\n').map(String::from));
349+
messages.extend(format!("{backtrace:#}").split('\n').map(String::from));
350350
});
351351
}
352352

0 commit comments

Comments
 (0)