about summary refs log tree commit diff
path: root/src/libsyntax/util/parser_testing.rs
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2014-04-05 16:24:28 +0300
committerEduard Burtescu <edy.burt@gmail.com>2014-09-14 03:39:36 +0300
commitd379ad111ccef354730e51edea8119341a8e7871 (patch)
tree5896fd037c2983f9dee6abd9b567b969b338a655 /src/libsyntax/util/parser_testing.rs
parentccd8498afbb371939b7decdbee712f726ccbded3 (diff)
downloadrust-d379ad111ccef354730e51edea8119341a8e7871.tar.gz
rust-d379ad111ccef354730e51edea8119341a8e7871.zip
syntax: tests: fix fallout from using ptr::P.
Diffstat (limited to 'src/libsyntax/util/parser_testing.rs')
-rw-r--r--src/libsyntax/util/parser_testing.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsyntax/util/parser_testing.rs b/src/libsyntax/util/parser_testing.rs
index bc5b9bc6c18..d0faa3c6820 100644
--- a/src/libsyntax/util/parser_testing.rs
+++ b/src/libsyntax/util/parser_testing.rs
@@ -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> {