Expand description
Utilities for creating rustc
-like error messages, for fun or for actual use.
Note that all implementations of Display
, as well as
methods named display
, utilize ANSI escape sequences. There’s currently no
way to change this.
Macros§
Structs§
- Code
- A code block for a
Help
,Warning
, orError
. - Error
- An error in
rustc
style. - File
- The path, line, and column of a piece of
Code
. - Help
- A help message for an
Warning
orError
. - Line
- A single line in a
Code
block. - Marker
- An underline for a piece of
Code
. - Note
- A note for a
Warning
orError
. - Warning
- A warning in
rustc
style.