X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibrustc%2Fmiddle%2Fcstore.rs;h=c2c23f6a0325094242c829c98012e6fe715cc62e;hb=e6f0f7d52d69d0c4f290ac32c6eebf92bbf6dd81;hp=1e21d6aabe97b74f0f13ab498b727d7672d7abdc;hpb=32b2ef7add2836cba5867d2e5ac9610cef416447;p=rust.git diff --git a/src/librustc/middle/cstore.rs b/src/librustc/middle/cstore.rs index 1e21d6aabe9..c2c23f6a032 100644 --- a/src/librustc/middle/cstore.rs +++ b/src/librustc/middle/cstore.rs @@ -187,8 +187,7 @@ fn impl_or_trait_item(&self, tcx: &ty::ctxt<'tcx>, def: DefId) fn is_defaulted_trait(&self, did: DefId) -> bool; fn is_impl(&self, did: DefId) -> bool; fn is_default_impl(&self, impl_did: DefId) -> bool; - fn is_extern_fn(&self, tcx: &ty::ctxt<'tcx>, did: DefId) -> bool; - fn is_static(&self, did: DefId) -> bool; + fn is_extern_item(&self, tcx: &ty::ctxt<'tcx>, did: DefId) -> bool; fn is_static_method(&self, did: DefId) -> bool; fn is_statically_included_foreign_item(&self, id: ast::NodeId) -> bool; fn is_typedef(&self, did: DefId) -> bool; @@ -357,8 +356,7 @@ fn is_const_fn(&self, did: DefId) -> bool { unimplemented!() } fn is_defaulted_trait(&self, did: DefId) -> bool { unimplemented!() } fn is_impl(&self, did: DefId) -> bool { unimplemented!() } fn is_default_impl(&self, impl_did: DefId) -> bool { unimplemented!() } - fn is_extern_fn(&self, tcx: &ty::ctxt<'tcx>, did: DefId) -> bool { unimplemented!() } - fn is_static(&self, did: DefId) -> bool { unimplemented!() } + fn is_extern_item(&self, tcx: &ty::ctxt<'tcx>, did: DefId) -> bool { unimplemented!() } fn is_static_method(&self, did: DefId) -> bool { unimplemented!() } fn is_statically_included_foreign_item(&self, id: ast::NodeId) -> bool { false } fn is_typedef(&self, did: DefId) -> bool { unimplemented!() }