Now, some errors are generic over the FileId type, meaning I can now pretty-print command line argument errors as well as normal errors with the same machinery. This is accomplished via the Eprint trait, whose generics are a tad complex but probably still fine.
13 lines
179 B
Rust
13 lines
179 B
Rust
#![warn(future_incompatible)]
|
|
#![warn(rust_2018_idioms)]
|
|
#![warn(clippy::all)]
|
|
#![warn(clippy::use_self)]
|
|
|
|
mod cli;
|
|
mod error;
|
|
mod eval;
|
|
mod files;
|
|
|
|
fn main() {
|
|
cli::run();
|
|
}
|