Update for changes in rustc master.

This commit is contained in:
Scott Olson
2016-04-06 19:00:34 -06:00
parent f4dce09c97
commit c55320a3db
2 changed files with 2 additions and 2 deletions

View File

@@ -1179,7 +1179,7 @@ pub fn get_impl_method<'tcx>(
} }
} }
None => { None => {
tcx.sess.bug(&format!("method {:?} not found in {:?}", name, impl_def_id)) bug!("method {:?} not found in {:?}", name, impl_def_id);
} }
} }
} }

View File

@@ -2,7 +2,7 @@
// From rustc. // From rustc.
extern crate arena; extern crate arena;
extern crate rustc; #[macro_use] extern crate rustc;
extern crate rustc_data_structures; extern crate rustc_data_structures;
extern crate rustc_mir; extern crate rustc_mir;
extern crate syntax; extern crate syntax;