diff options
| author | bors <bors@rust-lang.org> | 2014-06-10 09:49:29 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-10 09:49:29 -0700 |
| commit | 9bb8f88d3a79d3f8f10dca8cedf00cf57f6a94f6 (patch) | |
| tree | 6b900931014b0ea0ed76e2b6ee5ab2f78583b165 /src/libglob | |
| parent | 0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff) | |
| parent | 8e34f647ee5db795e1ea46715de61cee63f4f4a7 (diff) | |
auto merge of #14696 : jakub-/rust/dead-struct-fields, r=alexcrichton
This uncovered some dead code, most notably in middle/liveness.rs, which I think suggests there must be something fishy with that part of the code. The #[allow(dead_code)] annotations on some of the fields I am not super happy about but as I understand, marker type may disappear at some point.
Diffstat (limited to 'src/libglob')
| -rw-r--r-- | src/libglob/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libglob/lib.rs b/src/libglob/lib.rs index f3e1da77ce5..6d39a332ad9 100644 --- a/src/libglob/lib.rs +++ b/src/libglob/lib.rs @@ -44,7 +44,6 @@ use std::string::String; * pattern - see the `glob` function for more details. */ pub struct Paths { - root: Path, dir_patterns: Vec<Pattern>, require_dir: bool, options: MatchOptions, @@ -108,7 +107,6 @@ pub fn glob_with(pattern: &str, options: MatchOptions) -> Paths { // FIXME: How do we want to handle verbatim paths? I'm inclined to return nothing, // since we can't very well find all UNC shares with a 1-letter server name. return Paths { - root: root, dir_patterns: Vec::new(), require_dir: false, options: options, @@ -134,7 +132,6 @@ pub fn glob_with(pattern: &str, options: MatchOptions) -> Paths { } Paths { - root: root, dir_patterns: dir_patterns, require_dir: require_dir, options: options, |
