Depend on getopts from crates.io

rustc_session exports it for other crates to avoid mismatching
crate versions.
This commit is contained in:
Luca Barbieri
2020-04-10 22:42:19 +02:00
committed by Mark Rousskov
parent 45ede927fb
commit ac2b84f962
7 changed files with 8 additions and 10 deletions

View File

@@ -15,7 +15,6 @@
#![recursion_limit = "256"]
extern crate env_logger;
extern crate getopts;
extern crate rustc_ast;
extern crate rustc_ast_pretty;
extern crate rustc_attr;
@@ -51,6 +50,7 @@ use std::panic;
use std::process;
use rustc_session::config::{make_crate_type_option, ErrorOutputType, RustcOptGroup};
use rustc_session::getopts;
use rustc_session::{early_error, early_warn};
#[macro_use]