Skip to content

Commit 07c225d

Browse files
committed
report: print ice onliner in report, hidden
1 parent d971416 commit 07c225d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ice.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ impl ICE {
152152
pub(crate) fn into_report(self, global_tempdir_path: &PathBuf) -> Report {
153153
let ice = &self;
154154

155+
let ice_oneliner = self.to_printable(global_tempdir_path);
155156
let mvce_string: String = reduce_ice_code_to_string(ice.clone(), global_tempdir_path);
156157
//dbg!(&mvce_string);
157158

@@ -266,8 +267,10 @@ original:
266267
};
267268

268269
let data = format!(
269-
"
270+
"<!--
271+
{ice_oneliner}
270272
File: {original_path_display}
273+
-->
271274
272275
{snippet}
273276

0 commit comments

Comments
 (0)