summaryrefslogtreecommitdiff
path: root/support/pkgcheck/src/gparser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/pkgcheck/src/gparser.rs')
-rw-r--r--support/pkgcheck/src/gparser.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/pkgcheck/src/gparser.rs b/support/pkgcheck/src/gparser.rs
index ac3e1e7289..136f6f41b1 100644
--- a/support/pkgcheck/src/gparser.rs
+++ b/support/pkgcheck/src/gparser.rs
@@ -1,3 +1,5 @@
+use log::*;
+
use pest::Parser;
#[cfg(debug_assertions)]
@@ -32,7 +34,7 @@ pub fn parse_generate(s: &str) -> Option<Vec<String>> {
}
Rule::EOI => (),
e => {
- println!("unreachable: {:?}", e);
+ error!("unreachable: {:?}", e);
unreachable!()
}
};