Skip to content

Commit 73a1a4c

Browse files
Add spans to log file listing trait impl-names
1 parent a435312 commit 73a1a4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/rust_verify/src/verifier.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2822,10 +2822,11 @@ impl Verifier {
28222822
imp.x.trait_typ_args.iter().map(vir::ast_util::typ_to_diagnostic_str).collect();
28232823
writeln!(
28242824
&mut file,
2825-
"{} ### {} ### {}",
2825+
"{} ### {} ### {} ### {}",
28262826
vir::ast_util::path_as_friendly_rust_name(&imp.x.impl_path),
28272827
vir::ast_util::path_as_friendly_rust_name(&imp.x.trait_path),
28282828
&ts.join(", "),
2829+
&imp.span.as_string,
28292830
)
28302831
.map_err(|e| io_vir_err("log_impl_names".to_string(), e))
28312832
.map_err(map_err_diagnostics)?;

0 commit comments

Comments
 (0)