message: Rustup to rustc 1.35.0-nightly (9d71ec135 2019-03-10)
diff: use rustc::dep_graph::DepGraph;
  use rustc::middle::cstore::MetadataLoader;
  use rustc::mir::mono::{Linkage as RLinkage, Visibility};
  -use rustc::session::{
  - config::{DebugInfo, OutputFilenames, OutputType},
  - CompileIncomplete,
  -};
  +use rustc::session::config::{DebugInfo, OutputFilenames, OutputType};
  use rustc::ty::query::Providers;
  +use rustc::util::common::ErrorReported;
  use rustc_codegen_ssa::back::linker::LinkerInfo;
  use rustc_codegen_ssa::CrateInfo;
  use rustc_codegen_utils::codegen_backend::CodegenBackend;
  @@ -157,7 +155,7 @@ fn init(&self, sess: &Session) {
  match *cty {
  CrateType::Rlib | CrateType::Dylib | CrateType::Executable => {}
  _ => {
  - sess.err(&format!(
  + sess.warn(&format!(
  "Rustc codegen cranelift doesn't support output type {}",
  cty
  ));
  @@ -365,7 +363,7 @@ fn join_codegen_and_link(
  sess: &Session,
  _dep_graph: &DepGraph,
  outputs: &OutputFilenames,
  - ) -> Result<(), CompileIncomplete> {
  + ) -> Result<(), ErrorReported> {
  let res = *res
  .downcast::<CodegenResults>()
  .expect("Expected CraneliftCodegenBackend's CodegenResult, found Box<Any>");
  