Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb
`rustc_span` cleanups Just some things I found while looking over this crate. r? `@oli-obk`
This commit is contained in:
commit
9c20ddd956
124 changed files with 189 additions and 275 deletions
|
@ -9,9 +9,8 @@ use rustc_session::lint::{
|
|||
FutureIncompatibilityReason, Level, Lint, LintId,
|
||||
};
|
||||
use rustc_session::Session;
|
||||
use rustc_span::hygiene::MacroKind;
|
||||
use rustc_span::source_map::{DesugaringKind, ExpnKind};
|
||||
use rustc_span::{symbol, Span, Symbol, DUMMY_SP};
|
||||
use rustc_span::hygiene::{ExpnKind, MacroKind};
|
||||
use rustc_span::{symbol, DesugaringKind, Span, Symbol, DUMMY_SP};
|
||||
|
||||
use crate::ty::TyCtxt;
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ use rustc_hir::ItemId;
|
|||
use rustc_index::Idx;
|
||||
use rustc_query_system::ich::StableHashingContext;
|
||||
use rustc_session::config::OptLevel;
|
||||
use rustc_span::source_map::Span;
|
||||
use rustc_span::symbol::Symbol;
|
||||
use rustc_span::Span;
|
||||
use std::fmt;
|
||||
use std::hash::Hash;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ use crate::infer::canonical::{Canonical, QueryResponse};
|
|||
use crate::ty::error::TypeError;
|
||||
use crate::ty::GenericArg;
|
||||
use crate::ty::{self, Ty, TyCtxt};
|
||||
use rustc_span::source_map::Span;
|
||||
use rustc_span::Span;
|
||||
|
||||
pub mod type_op {
|
||||
use crate::ty::fold::TypeFoldable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue