diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-27 19:46:09 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-29 16:21:25 -0700 |
| commit | 7b18976f085a741322c735f0a4279816547d7eaf (patch) | |
| tree | e610f211effee055e5bad662a561f67580e62e45 /src/libsyntax/parse/parser.rs | |
| parent | 22ef7e72f4c96b7688dad08c498a4389077d033a (diff) | |
| download | rust-7b18976f085a741322c735f0a4279816547d7eaf.tar.gz rust-7b18976f085a741322c735f0a4279816547d7eaf.zip | |
Remove all usage of @ast::Crate
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 6c905c252c1..5a68e32a533 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -5140,7 +5140,7 @@ impl Parser { // Parses a source module as a crate. This is the main // entry point for the parser. - pub fn parse_crate_mod(&self) -> @Crate { + pub fn parse_crate_mod(&self) -> Crate { let lo = self.span.lo; // parse the crate's inner attrs, maybe (oops) one // of the attrs of an item: @@ -5149,7 +5149,7 @@ impl Parser { // parse the items inside the crate: let m = self.parse_mod_items(token::EOF, first_item_outer_attrs); - @ast::Crate { + ast::Crate { module: m, attrs: inner, config: self.cfg.clone(), |
