diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-27 15:39:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-31 15:47:36 -0700 |
| commit | 3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7 (patch) | |
| tree | c00e4a730162f2b18c90971183ae28a746bbf4f8 /src/libsyntax/ast_util.rs | |
| parent | c034d0c854b9e80dc5d20ebe152eee8ce96ed544 (diff) | |
| download | rust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.tar.gz rust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.zip | |
syntax: Switch field privacy as necessary
Diffstat (limited to 'src/libsyntax/ast_util.rs')
| -rw-r--r-- | src/libsyntax/ast_util.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index 1676a130235..631489a65b2 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -325,8 +325,8 @@ pub fn empty_generics() -> Generics { #[deriving(Encodable, Decodable)] pub struct IdRange { - min: NodeId, - max: NodeId, + pub min: NodeId, + pub max: NodeId, } impl IdRange { @@ -352,9 +352,9 @@ pub trait IdVisitingOperation { } pub struct IdVisitor<'a, O> { - operation: &'a O, - pass_through_items: bool, - visited_outermost: bool, + pub operation: &'a O, + pub pass_through_items: bool, + pub visited_outermost: bool, } impl<'a, O: IdVisitingOperation> IdVisitor<'a, O> { |
