syntax: tests: fix fallout from using ptr::P.

This commit is contained in:
Eduard Burtescu
2014-04-05 16:24:28 +03:00
parent ccd8498afb
commit d379ad111c
5 changed files with 16 additions and 16 deletions

View File

@@ -9,14 +9,12 @@
// except according to those terms.
use ast;
use ast::P;
use parse::{new_parse_sess};
use parse::{ParseSess,string_to_filemap,filemap_to_tts};
use parse::{new_parser_from_source_str};
use parse::parser::Parser;
use parse::token;
use std::gc::Gc;
use ptr::P;
/// Map a string to tts, using a made-up filename:
pub fn string_to_tts(source_str: String) -> Vec<ast::TokenTree> {