Skip to content

Commit

Permalink
Update to nightly-2018-08-23
Browse files Browse the repository at this point in the history
Span was moved to the `syntax_pos` crate

(cherry picked from commit 889426b)
  • Loading branch information
Techcable authored and sfackler committed Aug 27, 2018
1 parent ab88405 commit e03f536
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion phf_macros/src/lib.rs
Expand Up @@ -35,6 +35,7 @@

#[macro_use]
extern crate syntax;
extern crate syntax_pos;
extern crate phf_generator;
extern crate phf_shared;
extern crate rustc_plugin;
Expand All @@ -48,7 +49,7 @@ use std::collections::HashMap;
use std::env;
use std::time::Instant;
use syntax::ast::{self, Expr, ExprKind, Mutability, TyKind};
use syntax::codemap::Span;
use syntax_pos::Span;
use syntax::ext::base::{DummyResult, ExtCtxt, MacResult};
use syntax::ext::build::AstBuilder;
use syntax::fold::Folder;
Expand Down
4 changes: 2 additions & 2 deletions phf_macros/src/util.rs
Expand Up @@ -2,8 +2,8 @@ use std::rc::Rc;
use std::hash::{Hash, Hasher};

use syntax::ast::Expr;
use syntax::codemap::Span;
use syntax::ext::base::{ExtCtxt, MacResult, MacEager};
use syntax_pos::Span;
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
use syntax::ext::build::AstBuilder;
use syntax::ptr::P;
use syntax::symbol::LocalInternedString;
Expand Down

0 comments on commit e03f536

Please sign in to comment.