diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 14:36:08 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 14:36:08 -0500 |
commit | 77ad7588ae191c8216f0696dad1996c4d0dd561b (patch) | |
tree | 776ba84180f434d830663bf78e7e4bda413a9200 /globset | |
parent | 58aca2efb24801b43870acac5b40c59fbc9ef350 (diff) |
Add --no-messages flag.
This flag is similar to what's found in grep: it will suppress all error
messages, such as those shown when a particular file couldn't be read.
Closes #149
Diffstat (limited to 'globset')
-rw-r--r-- | globset/src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/globset/src/lib.rs b/globset/src/lib.rs index b9a36d3a..c8bc054b 100644 --- a/globset/src/lib.rs +++ b/globset/src/lib.rs @@ -130,13 +130,6 @@ pub use glob::{Glob, GlobBuilder, GlobMatcher}; mod glob; mod pathutil; -macro_rules! eprintln { - ($($tt:tt)*) => {{ - use std::io::Write; - let _ = writeln!(&mut ::std::io::stderr(), $($tt)*); - }} -} - /// Represents an error that can occur when parsing a glob pattern. #[derive(Clone, Debug, Eq, PartialEq)] pub enum Error { |