1
Fork 0

Remove is_import field

This commit is contained in:
Mark Simulacrum 2018-06-01 19:00:34 -06:00
parent 3575be60ea
commit 19e0b7da1c
6 changed files with 6 additions and 14 deletions

View file

@ -134,9 +134,6 @@ pub struct Export {
/// The visibility of the export.
/// We include non-`pub` exports for hygienic macros that get used from extern crates.
pub vis: ty::Visibility,
/// True if from a `use` or and `extern crate`.
/// Used in rustdoc.
pub is_import: bool,
}
impl CtorKind {

View file

@ -1115,8 +1115,7 @@ impl_stable_hash_for!(struct hir::def::Export {
ident,
def,
vis,
span,
is_import
span
});
impl<'a> HashStable<StableHashingContext<'a>>