Skip to content

Commit b538978

Browse files
committed
pretty-print all errors instead of only top-level
Related to #51. We should be able to iterate over the errors instead, but this will do meanwhile.
1 parent 9dfa667 commit b538978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-rtic-scope/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl diag::DiagnosableError for RTICScopeError {
185185

186186
impl RTICScopeError {
187187
pub fn render(&self) {
188-
log::err(format!("{}", self)); // XXX only prints top-level error
188+
log::err(format!("{:#?}", self)); // TODO iterator over errors instead
189189

190190
// print eventual hints
191191
// XXX should we anyhow::Error::downcast somehow instead?

0 commit comments

Comments
 (0)