You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use miette for a compiler, where I'd want to collect a whole bunch of errors and display them all at once. From reading the docs, it seems like I can add related errors to a top level error type, but is there a way to just manually print a vector of error types?
Thanks!
The text was updated successfully, but these errors were encountered:
The easiest way to "manually" print a Diagnostic is to wrap it in a Report and then print it with {:?}. Then you can print things however you want. Related errors are mostly a convenience but they're very narrowly useful
I'm trying to use miette for a compiler, where I'd want to collect a whole bunch of errors and display them all at once. From reading the docs, it seems like I can add related errors to a top level error type, but is there a way to just manually print a vector of error types?
Thanks!
The text was updated successfully, but these errors were encountered: