Skip to content

Commit a03b3b7

Browse files
committed
Cargo update
Remove `rustc-ap-rustc_errors` from dependencies since it is re-exported from `rustc-ap-syntax`.
1 parent c416246 commit a03b3b7

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

Cargo.lock

+14-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ getopts = "0.2"
4747
derive-new = "0.5"
4848
cargo_metadata = "0.5.1"
4949
rustc-ap-syntax = "67.0.0"
50-
rustc-ap-rustc_errors = "67.0.0"
5150

5251
[dev-dependencies]
5352
lazy_static = "1.0.0"

src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ extern crate itertools;
2020
#[macro_use]
2121
extern crate log;
2222
extern crate regex;
23-
extern crate rustc_errors as errors;
2423
extern crate serde;
2524
#[macro_use]
2625
extern crate serde_derive;
@@ -39,8 +38,8 @@ use std::path::PathBuf;
3938
use std::rc::Rc;
4039
use std::time::Duration;
4140

42-
use errors::{DiagnosticBuilder, Handler};
43-
use errors::emitter::{ColorConfig, EmitterWriter};
41+
use syntax::errors::{DiagnosticBuilder, Handler};
42+
use syntax::errors::emitter::{ColorConfig, EmitterWriter};
4443
use syntax::ast;
4544
use syntax::codemap::{CodeMap, FilePathMapping};
4645
pub use syntax::codemap::FileName;

0 commit comments

Comments
 (0)