Remove is_import field
This commit is contained in:
parent
3575be60ea
commit
19e0b7da1c
6 changed files with 6 additions and 14 deletions
|
@ -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 {
|
||||
|
|
|
@ -1115,8 +1115,7 @@ impl_stable_hash_for!(struct hir::def::Export {
|
|||
ident,
|
||||
def,
|
||||
vis,
|
||||
span,
|
||||
is_import
|
||||
span
|
||||
});
|
||||
|
||||
impl<'a> HashStable<StableHashingContext<'a>>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue