Wrap message
@@ -1908,7 +1908,7 @@ Fix the warnings and try again!",
),
};
write_project(buf, diagnostic);
- writeln!(buf, "\n{}", error).unwrap();
+ writeln!(buf, "\n{}", wrap(&error.to_string())).unwrap();
}
Error::DuplicateDependency(name) => {
