Crate frack

Source
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§

error
Create a new Error.
warning
Create a new Warning.

Structs§

Code
A code block for a Help, Warning, or Error.
Error
An error in rustc style.
File
The path, line, and column of a piece of Code.
Help
A help message for an Warning or Error.
Line
A single line in a Code block.
Marker
An underline for a piece of Code.
Note
A note for a Warning or Error.
Warning
A warning in rustc style.