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/mod.rs | |
| parent | 22ef7e72f4c96b7688dad08c498a4389077d033a (diff) | |
| download | rust-7b18976f085a741322c735f0a4279816547d7eaf.tar.gz rust-7b18976f085a741322c735f0a4279816547d7eaf.zip | |
Remove all usage of @ast::Crate
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 37f2f8345cd..a492a2283e3 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -73,7 +73,7 @@ pub fn parse_crate_from_file( input: &Path, cfg: ast::CrateConfig, sess: @mut ParseSess -) -> @ast::Crate { +) -> ast::Crate { new_parser_from_file(sess, /*bad*/ cfg.clone(), input).parse_crate_mod() // why is there no p.abort_if_errors here? } @@ -83,7 +83,7 @@ pub fn parse_crate_from_source_str( source: @str, cfg: ast::CrateConfig, sess: @mut ParseSess -) -> @ast::Crate { +) -> ast::Crate { let p = new_parser_from_source_str(sess, /*bad*/ cfg.clone(), name, |
