aboutsummaryrefslogtreecommitdiff
path: root/bin/src/err.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-24 08:56:37 +0100
committerAkshay <[email protected]>2021-10-24 08:56:37 +0100
commitb09f1f958423dee8c235f2eeb9c148b73936830f (patch)
tree0bab5509f6dfcb46af9aa686c313f556c7ae5f0b /bin/src/err.rs
parent5de0ba055cef7f2dc5451b1eaf0857deb77ae009 (diff)
rework cli, fix is now a flag, implement dry-run mode
Diffstat (limited to 'bin/src/err.rs')
-rw-r--r--bin/src/err.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/src/err.rs b/bin/src/err.rs
index c9db4d5..727e0cc 100644
--- a/bin/src/err.rs
+++ b/bin/src/err.rs
@@ -23,6 +23,8 @@ pub enum LintErr {
23pub enum FixErr { 23pub enum FixErr {
24 #[error("[{0}] syntax error: {1}")] 24 #[error("[{0}] syntax error: {1}")]
25 Parse(PathBuf, ParseError), 25 Parse(PathBuf, ParseError),
26 #[error("path error: {0}")]
27 InvalidPath(#[from] io::Error),
26} 28}
27 29
28#[derive(Error, Debug)] 30#[derive(Error, Debug)]