Normalize syntax::source_map imports.

This commit is contained in:
Mazdak Farrokhzad 2020-01-01 19:25:28 +01:00
parent 766fba3fdc
commit 75e4783f63
83 changed files with 122 additions and 131 deletions

View file

@ -23,11 +23,11 @@ use rustc_data_structures::fx::FxHashSet;
use std::env;
use std::path::Path;
use rustc_span::source_map::{respan, DUMMY_SP};
use rustc_span::*;
use syntax::ast::{self, Attribute, NodeId, PatKind};
use syntax::print::pprust::{bounds_to_string, generic_params_to_string, ty_to_string};
use syntax::ptr::P;
use syntax::source_map::{respan, DUMMY_SP};
use syntax::token;
use syntax::visit::{self, Visitor};
use syntax::walk_list;

View file

@ -26,11 +26,11 @@ use std::fs::File;
use std::io::BufWriter;
use std::path::{Path, PathBuf};
use rustc_span::source_map::Spanned;
use rustc_span::*;
use syntax::ast::{self, Attribute, NodeId, PatKind, DUMMY_NODE_ID};
use syntax::print::pprust;
use syntax::print::pprust::{param_to_string, ty_to_string};
use syntax::source_map::Spanned;
use syntax::util::comments::strip_doc_comment_decoration;
use syntax::visit::{self, Visitor};