diff options
author | mcarton <cartonmartin+git@gmail.com> | 2015-06-13 15:47:32 +0200 |
---|---|---|
committer | mcarton <cartonmartin+git@gmail.com> | 2015-06-13 15:47:32 +0200 |
commit | 7903b37af41a16c166dbdba6499a03db033b7bc7 (patch) | |
tree | e3bec3bff9454316402e80785afacb4e3a68437d | |
parent | e45b23d5af397f65c277ddb82d98ba69c27e4ab5 (diff) |
Update to syntex_syntax 0.7.*
Fix #213.
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/gen.rs | 2 | ||||
-rw-r--r-- | tests/support.rs | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ build = "build.rs" [dependencies] log = "0.3.*" libc = "0.1.*" -syntex_syntax = "0.4.*" +syntex_syntax = "0.7.*" [features] static = [] @@ -123,7 +123,7 @@ pub fn gen_mod(links: &[(String, LinkType)], globs: Vec<Global>, span: Span) -> recursion_limit: 64, trace_mac: false, }; - let sess = &parse::new_parse_sess(); + let sess = &parse::ParseSess::new(); let mut ctx = GenCtx { ext_cx: base::ExtCtxt::new( sess, diff --git a/tests/support.rs b/tests/support.rs index dda9ebae..a83bbc02 100644 --- a/tests/support.rs +++ b/tests/support.rs @@ -99,5 +99,5 @@ impl DummyExtCtxt { } fn mk_dummy_ext_ctxt<'a>() -> DummyExtCtxt { - DummyExtCtxt { sess: parse::new_parse_sess() } + DummyExtCtxt { sess: parse::ParseSess::new() } } |