Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit 790becc

Browse files
committed
Fix missing message in Debug of libyaml Error
1 parent bc2f0ca commit 790becc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/libyaml/error.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ impl Debug for Error {
9898
} {
9999
formatter.field("kind", &format_args!("{}", kind));
100100
}
101+
formatter.field("problem", &self.problem);
101102
if self.problem_mark.sys.line != 0 || self.problem_mark.sys.column != 0 {
102103
formatter.field("problem_mark", &self.problem_mark);
103104
} else if self.problem_offset != 0 {

0 commit comments

Comments
 (0)