Update for changes in rustc master.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user