Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from simphax/master
Browse files Browse the repository at this point in the history
Fix mod_path for latest rust nightly
  • Loading branch information
SimonSapin committed Dec 14, 2015
2 parents 0677b7f + 81c6498 commit 061b298
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod_path/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "mod_path"
version = "0.1.5"
version = "0.1.6"
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
license = "MIT"
repository = "https://github.com/SimonSapin/rust-std-candidates"
Expand Down
3 changes: 2 additions & 1 deletion mod_path/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

extern crate syntax;
extern crate rustc;
extern crate rustc_plugin;

use syntax::codemap::Span;
use syntax::parse::token;
use syntax::ast::{TokenTree, Ident};
use syntax::ext::base::{ExtCtxt, MacResult, DummyResult, MacEager, IdentTT, get_single_str_from_tts};
use syntax::util::small_vector::SmallVector;
use rustc::plugin::Registry;
use rustc_plugin::Registry;

fn expand_mod_path<'a>(cx: &'a mut ExtCtxt, sp: Span, ident: Ident, tts: Vec<TokenTree>)
-> Box<MacResult + 'a> {
Expand Down

0 comments on commit 061b298

Please sign in to comment.