Frack
A fake Rust error generator - both CLI and as a lib! Can be used for joke errors or, if you desire, real ones.
The goal is to be as accurate to real rustc errors/warnings as possible. If
I'm missing the mark, please make an issue or a PR.
CLI
See frack help.
Command for the image:
Lib
See files in examples/: they're small and easy-to-read. To try them out, do
cargo run --example NAME, e.g. cargo run --example demo.