diff options
| author | cgswords <cswords@mozilla.com> | 2016-06-20 08:49:33 -0700 |
|---|---|---|
| committer | cgswords <cameronswords@gmail.com> | 2016-06-21 11:12:36 -0700 |
| commit | d59accfb065843d12db9180a4f504664e3d23ef1 (patch) | |
| tree | d13f16af4af9a0a05d6545bb88aa2ea32b479cd2 /src/libsyntax/diagnostics/plugin.rs | |
| parent | 5522e678bcefe14cc2ab3d0ab329b7059ce52b36 (diff) | |
| download | rust-d59accfb065843d12db9180a4f504664e3d23ef1.tar.gz rust-d59accfb065843d12db9180a4f504664e3d23ef1.zip | |
Refactored tokentrees into their own files in preparation for tokenstreams. Modified tests to point to the new file now.
Diffstat (limited to 'src/libsyntax/diagnostics/plugin.rs')
| -rw-r--r-- | src/libsyntax/diagnostics/plugin.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostics/plugin.rs b/src/libsyntax/diagnostics/plugin.rs index 26088b1242e..4831d40df06 100644 --- a/src/libsyntax/diagnostics/plugin.rs +++ b/src/libsyntax/diagnostics/plugin.rs @@ -13,12 +13,13 @@ use std::collections::BTreeMap; use std::env; use ast; -use ast::{Ident, Name, TokenTree}; +use ast::{Ident, Name}; use codemap::Span; use ext::base::{ExtCtxt, MacEager, MacResult}; use ext::build::AstBuilder; use parse::token; use ptr::P; +use tokenstream::{TokenTree}; use util::small_vector::SmallVector; use diagnostics::metadata::output_metadata; |
