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
  • Loading branch information
Techcable committed Aug 24, 2018
1 parent c7d9792 commit 889426b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion phf_macros/src/lib.rs
Original file line number Diff line number Diff line change
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 @@ -46,7 +47,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
2 changes: 1 addition & 1 deletion phf_macros/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::hash::{Hash, Hasher};
use std::rc::Rc;

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

0 comments on commit 889426b

Please sign in to comment.