1
Fork 0

Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper

Rename rustc_errors dependency in rust 2018 crates

I think this is a better solution than `use rustc_errors as errors` in `lib.rs` and `use crate::errors` in modules.

Related: rust-lang/cargo#5653

cc #58099

r? @Centril
This commit is contained in:
Mazdak Farrokhzad 2019-02-13 04:37:04 +01:00 committed by GitHub
commit 0bc8f6f3f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 114 additions and 121 deletions

View file

@ -1,10 +1,10 @@
//! Parsing and validation of builtin attributes
use crate::ast::{self, Attribute, MetaItem, Name, NestedMetaItemKind};
use crate::errors::{Applicability, Handler};
use crate::feature_gate::{Features, GatedCfg};
use crate::parse::ParseSess;
use errors::{Applicability, Handler};
use syntax_pos::{symbol::Symbol, Span};
use super::{list_contains_name, mark_used, MetaItemKind};